From b8483b5f6859a343516c8782f6f8d3dbcb4db168 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 22 Jul 2016 12:43:32 -0600 Subject: * Re-add _BSD_SOURCE, which is deprecated by gcc6. It will be fixed later when it becomes an issue again. * Minor fix to documentation. --- imap/src/osdep/unix/os_lnx.h | 3 +++ imap/src/osdep/unix/os_slx.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'imap/src') 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 */ 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 */ -- cgit v1.2.3-70-g09d2