desktop: -Werror=unused-macros

The documented feature test macro is _BSD_SOURCE, and anyway, feature
test macros must be defined before the first libc header is included, so
this one is evidently useless.

Change-Id: Ib4b2db0c6151c2f3df322992b189257f5dd0ea22
This commit is contained in:
Michael Stahl
2014-10-09 20:41:11 +02:00
parent 83386129f5
commit 2e69b60cc2

View File

@@ -24,12 +24,6 @@
#include <errno.h>
#include <fcntl.h>
#if defined(LINUX)
# ifndef __USE_BSD
# define __USE_BSD /* madvise, MADV_WILLNEED */
# endif
#endif /* Linux */
#include <sys/mman.h>
#include <sys/stat.h>