]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
test files headers
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 29 Sep 2005 12:50:18 +0000 (12:50 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 29 Sep 2005 12:50:18 +0000 (12:50 +0000)
tests/configure.ac
tests/dname-label-test.c
tests/notify.c
tests/rrsig-test.c
tests/run-test11.c
tests/run-test18.c
tests/run-test19.c
tests/run-test20.c
tests/run-test7.c
tests/serial.c
tests/server.c

index e818f4447586a4a9de995ebf2b7d687fe6706f06..2ded4bc21c57880814c5b796afa5e15e400911de 100644 (file)
@@ -15,7 +15,7 @@ AC_PROG_MAKE_SET
 #AC_HEADER_STDC
 #AC_HEADER_SYS_WAIT
 # do the very minimum - we can always extend this
-AC_CHECK_HEADERS([getopt.h stdlib.h stdio.h assert.h netinet/in.hctype.h])
+AC_CHECK_HEADERS([getopt.h stdlib.h stdio.h assert.h netinet/in.hctype.h time.h])
 AC_CHECK_HEADERS(sys/param.h sys/mount.h,,,
 [
   [
@@ -66,6 +66,10 @@ AH_BOTTOM([
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
 #endif
+
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
 ])
 
 
index d00d597096b8d431afa30a9ad82f3f312eb8f499..798fe71fe68b15a4e47d34294a5119bb59b43eb7 100644 (file)
@@ -2,16 +2,6 @@
 /* lowlevel test functions */
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 int
index a51279ba74f4538cb5f0d10b73aea6892356cb3a..eeab9d1677f81a3ec80c3e81c296b050d620d0e8 100644 (file)
@@ -2,14 +2,7 @@
  * send a notify packet to a server
  */
 
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#include <stdint.h>
+#include "config.h"
 
 #include <ldns/dns.h>
 
index bd8bc5dcc4b02c59d0acd45a108ba294a4a499a9..5f5f42ccaacbcaaa6ba4a962ef4894e3ffdd3026 100644 (file)
@@ -3,16 +3,6 @@
 
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 int main(void)
index 63e0baf5c146d54ac6403ea5015d5c7bda712734..7825bc28cd9232a571ba95d7f16cabd63b000bca 100644 (file)
@@ -6,13 +6,7 @@
  * Print the result
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#include <stdint.h>
+#include "config.h"
 
 #include <ldns/dns.h>
 
index 940bb552e4e42000aea734c4f88242020923e554..428d32bb9f01af1777917a7d247ea0b253bad95f 100644 (file)
@@ -3,13 +3,7 @@
  * for a particulary domain
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#include <stdint.h>
+#include "config.h"
 
 #include <ldns/dns.h>
 
index 8023aeda815d3a8495893f4f9675a24a03051fb0..548971800a165eec63297ad293ff6438fa96d637 100644 (file)
@@ -5,16 +5,6 @@
 
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 int
index 8907dea2659bdde980fe8feac79ea99fa8082c59..8985e725d501cbd77845d6e8ea4300df22005a1b 100644 (file)
@@ -5,17 +5,6 @@
 
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-#include <errno.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 int
index e5b899c6d17da72a17228d13957765b8bd066aea..2d92fae822070a9cdb45f494a0be1c544465cb8e 100644 (file)
@@ -8,16 +8,6 @@
 
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 void
index f954c3f2ca7ced108edadb67945f9c49ccabf900..cdeef68e77591541151b0321446a230856b99d01 100644 (file)
@@ -1,15 +1,5 @@
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 void 
index 1a05a5c4028ae7c4a7df0c7a07fc1934b1fe1b45..5ef140975849b3154a220c8aa20a84c0de027ef1 100644 (file)
@@ -5,16 +5,6 @@
 
 #include "config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-
 #include <ldns/dns.h>
 
 int