Move includes to code files.

git-svn-id: file:///svn/unbound/trunk@2035 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2010-03-12 15:17:48 +00:00
parent e56a5b72cb
commit 147d47eee7
64 changed files with 166 additions and 44 deletions
+3
View File
@@ -41,6 +41,9 @@
*/
#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include "libunbound/unbound.h"
#include "libunbound/context.h"
#include "util/locks.h"
+7
View File
@@ -41,6 +41,13 @@
*/
#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#include <sys/time.h>
#include "util/net_help.h"
#include "util/config_file.h"
#include <signal.h>
+4
View File
@@ -69,6 +69,10 @@
*/
#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include "ldns/ldns.h"
#include <signal.h>
#include "libunbound/unbound.h"
#ifdef HAVE_SYS_STAT_H
+4
View File
@@ -40,6 +40,10 @@
*/
#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include "ldns/ldns.h"
#include <signal.h>
#include "util/log.h"
#include "util/locks.h"
+1
View File
@@ -40,6 +40,7 @@
*/
#include "config.h"
#include "ldns/ldns.h"
#include "util/log.h"
#include "util/data/dname.h"
#include "util/data/msgparse.h"
+1
View File
@@ -38,6 +38,7 @@
* Declarations useful for the unit tests.
*/
#include "config.h"
#include <ctype.h>
#include "testcode/readhex.h"
#include "util/log.h"
+1
View File
@@ -40,6 +40,7 @@
#ifndef TESTCODE_READHEX_H
#define TESTCODE_READHEX_H
#include "ldns/buffer.h"
/**
* Helper to convert hex string to packet buffer.
+1
View File
@@ -40,6 +40,7 @@
* construct input to test the validator with.
*/
#include "config.h"
#include "ldns/ldns.h"
#include "util/log.h"
#include "util/config_file.h"
#include "util/net_help.h"
+4
View File
@@ -40,6 +40,10 @@
*/
#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include "ldns/ldns.h"
#include <signal.h>
#include "util/locks.h"
#include "util/log.h"
+1
View File
@@ -39,6 +39,7 @@
*/
#include "config.h"
#include "ldns/rr.h"
#include "util/log.h"
#include "util/data/dname.h"
#include "testcode/unitmain.h"
+2
View File
@@ -39,6 +39,8 @@
*/
#include "config.h"
#include "ldns/dname.h"
#include "ldns/host2wire.h"
#include "util/log.h"
#include "testcode/unitmain.h"
#include "util/data/dname.h"
+16
View File
@@ -40,6 +40,22 @@
*/
#include "config.h"
#ifdef HAVE_OPENSSL_ERR_H
#include <openssl/err.h>
#endif
#ifdef HAVE_OPENSSL_RAND_H
#include <openssl/rand.h>
#endif
#ifdef HAVE_OPENSSL_CONF_H
#include <openssl/conf.h>
#endif
#ifdef HAVE_OPENSSL_ENGINE_H
#include <openssl/engine.h>
#endif
#include "ldns/ldns.h"
#include "util/log.h"
#include "testcode/unitmain.h"
+1
View File
@@ -39,6 +39,7 @@
*/
#include "config.h"
#include "ldns/ldns.h"
#include "util/log.h"
#include "testcode/unitmain.h"
#include "util/data/msgparse.h"