mirror of
https://github.com/jedisct1/dnsblast.git
synced 2025-10-02 18:12:14 +01:00
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.
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
#ifndef __DNSBLAST_H__
|
#ifndef __DNSBLAST_H__
|
||||||
#define __DNSBLAST_H__ 1
|
#define __DNSBLAST_H__ 1
|
||||||
|
|
||||||
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
@@ -20,6 +22,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <strings.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "dns.h"
|
#include "dns.h"
|
||||||
|
Reference in New Issue
Block a user