aboutsummaryrefslogtreecommitdiff
path: root/src/server/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/httpd.c')
-rw-r--r--src/server/httpd.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c
index 6a4302f..6d98515 100644
--- a/src/server/httpd.c
+++ b/src/server/httpd.c
@@ -27,30 +27,13 @@
#include "config.h"
#endif
-#include "replacements.h"
-
-#include "server.h"
-
-#include "log.h"
#include "telnet_server.h"
#include "target.h"
-#include <command.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include <microhttpd.h>
#include <pthread.h>
#include <signal.h>
-#include <sys/select.h>
-#include <sys/socket.h>
-#include <microhttpd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
#define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>"
int loadFile(const char *name, void **data, size_t *len);