diff options
author | dtucker <dtucker> | 2013-03-22 01:51:09 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2013-03-22 01:51:09 +0000 |
commit | c63007022256d61c43c6ed26649efdb543662b9f (patch) | |
tree | 1804020ef1681de7e04f88fceaba8dd90eb8db8b /includes.h | |
parent | d3b5c85fc68d1fab437e54d863eef9d95a815c5b (diff) | |
download | openssh-c63007022256d61c43c6ed26649efdb543662b9f.tar.gz |
- (dtucker) [includes.h] Check if _GNU_SOURCE is already defined before
defining it again. Prevents warnings if someone, eg, sets it in CFLAGS.
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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_* */ |