summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
-rw-r--r--lib-src/emacsserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index ed174f03b92..65b5770c47e 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -42,7 +42,7 @@ main (argc, argv)
#else /* HAVE_SOCKETS or HAVE_SYSVIPC */
-#if defined (HAVE_SOCKETS)
+#if defined (HAVE_SOCKETS) && ! defined (NO_SOCKETS_IN_FILE_SYSTEM)
/* BSD code is very different from SYSV IPC code */
#include <sys/types.h>
diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c
index 11726eb3f72..29c87e8dbd2 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_SOCKETS)
+#if defined (HAVE_SOCKETS) && ! defined (NO_SOCKETS_IN_FILE_SYSTEM)
/* BSD code is very different from SYSV IPC code */
#include <sys/types.h>