diff options
| author | christos <christos@NetBSD.org> | 2009-01-26 15:09:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2009-01-26 15:09:56 +0000 |
| commit | b9525db03ff5d13ddd04087ca62afbc57474cae7 (patch) | |
| tree | 0aad7ed7d3b38037b876a2019d0120fff9af9b88 /lib | |
| parent | 92b9f070f22c12b65fdf5c4957ac8b25a407cb1a (diff) | |
PR/40480: George Abdelmalik: Don't redefine _FORTIFY_SOURCE if it is already
defined.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libevent/evdns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libevent/evdns.c b/lib/libevent/evdns.c index f0c2cd7febf..1eeadd49836 100644 --- a/lib/libevent/evdns.c +++ b/lib/libevent/evdns.c @@ -1,4 +1,4 @@ -/* $NetBSD: evdns.c,v 1.1 2008/05/16 20:24:57 peter Exp $ */ +/* $NetBSD: evdns.c,v 1.2 2009/01/26 15:09:56 christos Exp $ */ /* The original version of this module was written by Adam Langley; for * a history of modifications, check out the subversion logs. @@ -74,7 +74,9 @@ #include <openssl/rand.h> #endif +#ifndef _FORTIFY_SOURCE #define _FORTIFY_SOURCE 3 +#endif #include <string.h> #include <fcntl.h> |
