command.c: Remove unused includes.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 20 Oct 2021 21:48:28 +0000 (23:48 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 20 Nov 2021 11:04:10 +0000 (12:04 +0100)
None of these are needed. Tested on Linux, FreeBSD and NetBSD.

command.c

index 7b3d6fa..8f5e2dd 100644 (file)
--- a/command.c
+++ b/command.c
@@ -6,10 +6,7 @@
 #include <sys/socket.h>
 #include <regex.h>
 #include <signal.h>
-#include <sys/types.h>
-#include <osl.h>
 #include <arpa/inet.h>
-#include <sys/un.h>
 #include <netdb.h>
 #include <lopsub.h>
 
@@ -22,7 +19,6 @@
 #include "command.h"
 #include "string.h"
 #include "afh.h"
-#include "afs.h"
 #include "net.h"
 #include "server.h"
 #include "list.h"