aboutsummaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-02-28 00:55:06 +0000
committerYang Tse <yangsita@gmail.com>2008-02-28 00:55:06 +0000
commited63d9d4de2c40ee2bb15f3f2ffed0d9bfe54c22 (patch)
treed76ac6f2c064c5a952f43623d51ac3e335cdcfab /tests/server/tftpd.c
parent8adc7038fe513ff3651845be186560686e797f14 (diff)
header inclusion cleanup
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r--tests/server/tftpd.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index be5c5b95c..a98791de6 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -49,18 +49,13 @@
*/
#include "setup.h" /* portability help from the lib directory */
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
+
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
+#ifdef HAVE_SIGNAL_H
#include <signal.h>
-
+#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
@@ -84,12 +79,9 @@
#endif
#include <setjmp.h>
-#include <stdio.h>
-#include <errno.h>
-#include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif