summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-07-05 17:39:22 -0600
committerEduardo Chappa <chappa@washington.edu>2016-07-05 17:39:22 -0600
commitc09a4169f51b90116733095290ca3c06e2137cce (patch)
treeef48f6dae8709741dfc6ba268caffbcf8dd26b14
parent9e9a32078793384868c49979ba08273836931807 (diff)
downloadalpine-c09a4169f51b90116733095290ca3c06e2137cce.tar.xz
* Do not define _BSD_SOURCE but define _DEFAULT_SOURCE instead.
-rw-r--r--imap/src/osdep/unix/os_lnx.h6
-rw-r--r--imap/src/osdep/unix/os_slx.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/imap/src/osdep/unix/os_lnx.h b/imap/src/osdep/unix/os_lnx.h
index 4656b12c..c24bbec7 100644
--- a/imap/src/osdep/unix/os_lnx.h
+++ b/imap/src/osdep/unix/os_lnx.h
@@ -31,9 +31,9 @@
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 1
#endif /* _XOPEN_SOURCE */
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE 1
-#endif /* _BSD_SOURCE */
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE 1
+#endif /* _DEFAULT_SOURCE */
/* end Debian Linux on Alpha strangeness */
diff --git a/imap/src/osdep/unix/os_slx.h b/imap/src/osdep/unix/os_slx.h
index 4656b12c..c24bbec7 100644
--- a/imap/src/osdep/unix/os_slx.h
+++ b/imap/src/osdep/unix/os_slx.h
@@ -31,9 +31,9 @@
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 1
#endif /* _XOPEN_SOURCE */
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE 1
-#endif /* _BSD_SOURCE */
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE 1
+#endif /* _DEFAULT_SOURCE */
/* end Debian Linux on Alpha strangeness */