summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libasyncns/Makefile2
-rw-r--r--libasyncns/asyncns-test.c2
-rw-r--r--libasyncns/asyncns.c2
-rw-r--r--libasyncns/asyncns.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/libasyncns/Makefile b/libasyncns/Makefile
index fd503b4..93af173 100644
--- a/libasyncns/Makefile
+++ b/libasyncns/Makefile
@@ -1,7 +1,7 @@
CFLAGS=-Wall -W -O0 -g -pipe
-asyncns-test: aar.o aar-test.o
+asyncns-test: asyncns.o asyncns-test.o
$(CC) -o $@ $^ $(LIBS) $(CFLAGS)
clean:
diff --git a/libasyncns/asyncns-test.c b/libasyncns/asyncns-test.c
index da8e76a..6de3337 100644
--- a/libasyncns/asyncns-test.c
+++ b/libasyncns/asyncns-test.c
@@ -4,7 +4,7 @@
#include <arpa/inet.h>
#include <stdio.h>
-#include "aar.h"
+#include "asyncns.h"
int main(int argc, char *argv[]) {
aar_t* aar = NULL;
diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c
index 1cd6b9d..fa62003 100644
--- a/libasyncns/asyncns.c
+++ b/libasyncns/asyncns.c
@@ -19,7 +19,7 @@
#include <sys/prctl.h>
#endif
-#include "aar.h"
+#include "asyncns.h"
#define MAX_WORKERS 16
#define MAX_QUERIES 256
diff --git a/libasyncns/asyncns.h b/libasyncns/asyncns.h
index 92b5358..05873a6 100644
--- a/libasyncns/asyncns.h
+++ b/libasyncns/asyncns.h
@@ -1,5 +1,5 @@
-#ifndef fooaarhfoo
-#define fooaarhfoo
+#ifndef fooasyncnshfoo
+#define fooasyncnshfoo
#include <sys/socket.h>
#include <netdb.h>