diff --git a/src/apcups.c b/src/apcups.c
index dc533f1e48eb3b741c2f37eeb6978694ff01aa96..718061ae36e693a9125325f3403da98f25be2316 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif