summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_slx.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/osdep/unix/os_slx.h')
-rw-r--r--imap/src/osdep/unix/os_slx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/os_slx.h b/imap/src/osdep/unix/os_slx.h
index c24bbec7..8aec345e 100644
--- a/imap/src/osdep/unix/os_slx.h
+++ b/imap/src/osdep/unix/os_slx.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 */