From 9a6210e41f05b266e4dd8f76b8a765b2606131e5 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Sun, 6 May 2012 15:22:56 +0200 Subject: [PATCH] Include strings.h and defines _POSIX_S_SOURCE These changes were required for dnsblast to build on Debian GNU/Linux Unstable on x86_64 with eglibc 2.13 and gcc 4.6.3. --- dnsblast.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dnsblast.h b/dnsblast.h index 2863832..96b0605 100644 --- a/dnsblast.h +++ b/dnsblast.h @@ -2,6 +2,8 @@ #ifndef __DNSBLAST_H__ #define __DNSBLAST_H__ 1 +#define _POSIX_C_SOURCE 200112L + #include #include #include @@ -20,6 +22,7 @@ #include #include #include +#include #include #include "dns.h"