Commit 8de9818afbf2fe5b7ea4d111c855797516f04a2b

Christian Weisgerber 2020-09-14T20:12:18

remove unused #includes from the new got-read-gotconfig/parse.y ok tracey

diff --git a/libexec/got-read-gotconfig/parse.y b/libexec/got-read-gotconfig/parse.y
index 4bba644..aa7193a 100644
--- a/libexec/got-read-gotconfig/parse.y
+++ b/libexec/got-read-gotconfig/parse.y
@@ -24,27 +24,17 @@
 %{
 #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 <netdb.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 "gotconfig.h"