summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix/os_slx.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-07-22 12:43:32 -0600
committerEduardo Chappa <chappa@washington.edu>2016-07-22 12:43:32 -0600
commitb8483b5f6859a343516c8782f6f8d3dbcb4db168 (patch)
tree6498b703b0008f107963d074931a212ddf14bf88 /imap/src/osdep/unix/os_slx.h
parentf08bd49ee1346f0db56d1e913f725fce27bdb4df (diff)
downloadalpine-b8483b5f6859a343516c8782f6f8d3dbcb4db168.tar.xz
* Re-add _BSD_SOURCE, which is deprecated by gcc6. It will be fixed
later when it becomes an issue again. * Minor fix to documentation.
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 */