summaryrefslogtreecommitdiff
path: root/tests/anonself.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-06-16 14:16:57 +0000
committerSimon Josefsson <simon@josefsson.org>2006-06-16 14:16:57 +0000
commit50a9c8a26dc77291a94149cd28654b73a64722c1 (patch)
treed99922cf3fe7ff6b3a0b3616e844548ec4c640f3 /tests/anonself.c
parentcdd17c86a270c249dad9d9e26b04e7d904ed47fa (diff)
downloadgnutls-50a9c8a26dc77291a94149cd28654b73a64722c1.tar.gz
Need config.h.
Diffstat (limited to 'tests/anonself.c')
-rw-r--r--tests/anonself.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/anonself.c b/tests/anonself.c
index 94c39122a5..d22d5d6304 100644
--- a/tests/anonself.c
+++ b/tests/anonself.c
@@ -22,13 +22,16 @@
/* Parts copied from GnuTLS example programs. */
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
-#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <gnutls/gnutls.h>