hostfs: Drop unnecessary feature test macros

_BSD_SOURCE was added to allow the use of DT_DIR, but that was removed
in e768b77068.  While adding
_DEFAULT_SOURCE as well works around problems with current glibc,
neither is in fact needed nowadays.
This commit is contained in:
Colin Watson 2015-03-23 14:27:41 +00:00
parent e9f68f1f4c
commit 5974d4ba65

View file

@ -19,11 +19,6 @@
#include <config-util.h> #include <config-util.h>
/* Legacy feature macro.*/
#define _BSD_SOURCE
/* New feature macro that provides everything _BSD_SOURCE and
* _SVID_SOURCE provided and possibly more. */
#define _DEFAULT_SOURCE
#include <grub/fs.h> #include <grub/fs.h>
#include <grub/file.h> #include <grub/file.h>
#include <grub/disk.h> #include <grub/disk.h>