summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-01-07 17:33:30 +0000
committerLennart Poettering <lennart@poettering.net>2005-01-07 17:33:30 +0000
commit20ab54c8ed99456c1e75344a6e6f88665f6a880c (patch)
treed2ce8c70525e929e04f7c31567fb7b50e6b21381
parent0e5fee2fecf3e59bbe135be6e1060a903798e4e0 (diff)
fix compilation
git-svn-id: file:///home/lennart/svn/public/libasyncns/trunk@7 cc0fb855-19ed-0310-866e-8c1d96e4abae
-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>