summaryrefslogtreecommitdiff
path: root/tryalloca.c
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2006-06-23 03:53:16 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2006-06-23 03:53:16 +0000
commit56fb0a586d1ade0524af462353feca896c9c6f2e (patch)
treea696446e245ab1e47710ea30d8412f2201c9c39d /tryalloca.c
parent543745ddc953dd50b5192ecb60e2e17383e5e7e8 (diff)
downloadlibowfat-56fb0a586d1ade0524af462353feca896c9c6f2e.tar.gz
libowfat-56fb0a586d1ade0524af462353feca896c9c6f2e.zip
fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is no longer delegated)
Diffstat (limited to 'tryalloca.c')
-rw-r--r--tryalloca.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tryalloca.c b/tryalloca.c
index 8b15ea3..388312f 100644
--- a/tryalloca.c
+++ b/tryalloca.c
@@ -1,5 +1,9 @@
#include <stdlib.h>
+#ifdef A
#include <alloca.h>
+#else
+#include <malloc.h>
+#endif
main() {
char* c=alloca(23);