diff options
author | Eduardo Chappa <chappa@washington.edu> | 2016-07-22 12:43:32 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2016-07-22 12:43:32 -0600 |
commit | b8483b5f6859a343516c8782f6f8d3dbcb4db168 (patch) | |
tree | 6498b703b0008f107963d074931a212ddf14bf88 /imap/src | |
parent | f08bd49ee1346f0db56d1e913f725fce27bdb4df (diff) | |
download | alpine-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')
-rw-r--r-- | imap/src/osdep/unix/os_lnx.h | 3 | ||||
-rw-r--r-- | imap/src/osdep/unix/os_slx.h | 3 |
2 files changed, 6 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 */ 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 */ |