summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c
index b7b948e7fd6..11726eb3f72 100644
--- a/lib-src/emacsserver.c
+++ b/lib-src/emacsserver.c
@@ -45,7 +45,7 @@ main ()
#else /* HAVE_SOCKETS or HAVE_SYSVIPC */
-#if ! defined (HAVE_SYSVIPC)
+#if defined (HAVE_SOCKETS)
/* BSD code is very different from SYSV IPC code */
#include <sys/types.h>