mirror of
https://github.com/jedisct1/dnsblast.git
synced 2025-10-01 17:42:16 +01:00
Merge pull request #1 from olof/fix/posix_macros
Include strings.h and define _POSIX_C_SOURCE
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