summaryrefslogtreecommitdiff
path: root/wsutil/u3.c
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/u3.c')
-rw-r--r--wsutil/u3.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/wsutil/u3.c b/wsutil/u3.c
index 7d6493659c..04c1c28878 100644
--- a/wsutil/u3.c
+++ b/wsutil/u3.c
@@ -31,11 +31,7 @@
#include <string.h>
#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
+#include <unistd.h> /* getpid */
#endif
#ifdef _WIN32