mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00:00
- (dtucker) [includes.h] Check if _GNU_SOURCE is already defined before
defining it again. Prevents warnings if someone, eg, sets it in CFLAGS.
This commit is contained in:
parent
c8a0f27c6d
commit
221b4b2436
@ -3,6 +3,8 @@
|
||||
Hands' greatly revised version.
|
||||
- (djm) Release 6.2p1
|
||||
- (dtucker) [configure.ac] Add stdlib.h to zlib check for exit() prototype.
|
||||
- (dtucker) [includes.h] Check if _GNU_SOURCE is already defined before
|
||||
defining it again. Prevents warnings if someone, eg, sets it in CFLAGS.
|
||||
|
||||
20120318
|
||||
- (djm) [configure.ac log.c scp.c sshconnect2.c openbsd-compat/vis.c]
|
||||
|
@ -18,7 +18,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE /* activate extra prototypes for glibc */
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h> /* For CMSG_* */
|
||||
|
Loading…
Reference in New Issue
Block a user