diff options
author | Brent Cook <bcook@openbsd.org> | 2014-08-16 08:17:32 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-08-16 08:17:32 -0500 |
commit | 2d719eb3d7c6b97eceb1dd64640165ad8fc2e1b7 (patch) | |
tree | ddf286bdd3bf03625bbfdf008f2e4310686fa8c5 | |
parent | 6dccbae6638cc855c84f5f91434e45c24a6e405e (diff) | |
download | portable-2d719eb3d7c6b97eceb1dd64640165ad8fc2e1b7.tar.gz portable-2d719eb3d7c6b97eceb1dd64640165ad8fc2e1b7.tar.bz2 portable-2d719eb3d7c6b97eceb1dd64640165ad8fc2e1b7.zip |
set _DEFAULT_SOURCE on linux hosts
this is the replacement for _BSD_SOURCE on newer glibc's
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ccaaa63..07d5e76 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -15,7 +15,7 @@ case $host_os in | |||
15 | ;; | 15 | ;; |
16 | *linux*) | 16 | *linux*) |
17 | HOST_OS=linux; | 17 | HOST_OS=linux; |
18 | CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" | 18 | CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" |
19 | ;; | 19 | ;; |
20 | *solaris*) | 20 | *solaris*) |
21 | HOST_OS=solaris; | 21 | HOST_OS=solaris; |