summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_lnx.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/os_lnx.h')
-rw-r--r--imap/src/osdep/unix/os_lnx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/os_lnx.h b/imap/src/osdep/unix/os_lnx.h
index c24bbec7..ee2d76d1 100644
--- a/imap/src/osdep/unix/os_lnx.h
+++ b/imap/src/osdep/unix/os_lnx.h
@@ -34,6 +34,9 @@
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE 1
#endif /* _DEFAULT_SOURCE */
+#ifndef _BSD_SOURCE /* gcc 6 deprecates this, so will we */
+#define _BSD_SOURCE 1
+#endif /* _BSD_SOURCE */
/* end Debian Linux on Alpha strangeness */