]> git.proxmox.com Git - grub2.git/commitdiff
hostfs: Drop unnecessary feature test macros
authorColin Watson <cjwatson@debian.org>
Mon, 23 Mar 2015 14:34:01 +0000 (14:34 +0000)
committerColin Watson <cjwatson@debian.org>
Mon, 23 Mar 2015 15:21:19 +0000 (15:21 +0000)
_BSD_SOURCE was added to allow the use of DT_DIR, but that was removed
in e768b77068a0b030a07576852bd0f121c9a077eb.  While adding
_DEFAULT_SOURCE as well works around problems with current glibc,
neither is in fact needed nowadays.

Origin: upstream, http://git.savannah.gnu.org/cgit/grub.git/commit/?id=a276b840464629fdaecbe7e813f83a717a34993a
Origin: upstream, http://git.savannah.gnu.org/cgit/grub.git/commit/?id=5974d4ba65fc5ad9253857bf992ffd3c635baf2a
Last-Update: 2015-03-23

Patch-Name: hostfs_remove_ftm.patch

grub-core/kern/emu/hostfs.c

index 7e725f65f6a73c67cb6d0a3cf3509e374a29cab5..7b28c001f2e83e087740428760e3b0b8e0478908 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <config-util.h>
 
-#define _BSD_SOURCE
 #include <grub/fs.h>
 #include <grub/file.h>
 #include <grub/disk.h>