summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--includes.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c13bb9b8..ce612d315 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
3 Hands' greatly revised version. 3 Hands' greatly revised version.
4 - (djm) Release 6.2p1 4 - (djm) Release 6.2p1
5 - (dtucker) [configure.ac] Add stdlib.h to zlib check for exit() prototype. 5 - (dtucker) [configure.ac] Add stdlib.h to zlib check for exit() prototype.
6 - (dtucker) [includes.h] Check if _GNU_SOURCE is already defined before
7 defining it again. Prevents warnings if someone, eg, sets it in CFLAGS.
6 8
720120318 920120318
8 - (djm) [configure.ac log.c scp.c sshconnect2.c openbsd-compat/vis.c] 10 - (djm) [configure.ac log.c scp.c sshconnect2.c openbsd-compat/vis.c]
diff --git a/includes.h b/includes.h
index 3e206c899..07bcd89f2 100644
--- a/includes.h
+++ b/includes.h
@@ -18,7 +18,9 @@
18 18
19#include "config.h" 19#include "config.h"
20 20
21#ifndef _GNU_SOURCE
21#define _GNU_SOURCE /* activate extra prototypes for glibc */ 22#define _GNU_SOURCE /* activate extra prototypes for glibc */
23#endif
22 24
23#include <sys/types.h> 25#include <sys/types.h>
24#include <sys/socket.h> /* For CMSG_* */ 26#include <sys/socket.h> /* For CMSG_* */