remove unused #includes
diff --git a/gotweb/parse.y b/gotweb/parse.y
index c662466..6412c9a 100644
--- a/gotweb/parse.y
+++ b/gotweb/parse.y
@@ -23,25 +23,14 @@
%{
#include <sys/types.h>
#include <sys/queue.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-
-#include <netinet/in.h>
-
-#include <arpa/inet.h>
#include <ctype.h>
#include <err.h>
-#include <errno.h>
-#include <event.h>
-#include <ifaddrs.h>
-#include <imsg.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
-#include <syslog.h>
-#include <unistd.h>
#include "got_error.h"
#include "gotweb.h"