mirror of
https://github.com/yarrick/iodine.git
synced 2025-08-14 23:07:26 +00:00
Make it build and fix tests in cygwin
This commit is contained in:
@@ -23,5 +23,5 @@ $(TEST): $(OBJS) $(SRCOBJS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning tests/"
|
||||
@rm -f *~ *.core $(TEST) $(OBJS)
|
||||
@rm -f *~ *.core $(TEST){,exe} $(OBJS)
|
||||
|
||||
|
@@ -23,7 +23,11 @@
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef __CYGWIN__
|
||||
#include <arpa/nameser.h>
|
||||
#else
|
||||
#include "windows.h"
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "dns.h"
|
||||
|
@@ -18,7 +18,11 @@
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef __CYGWIN__
|
||||
#include <arpa/nameser.h>
|
||||
#else
|
||||
#include "windows.h"
|
||||
#endif
|
||||
#ifdef DARWIN
|
||||
#include <arpa/nameser8_compat.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user