summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/Makefile.SHs2
-rw-r--r--cygwin/cygwin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs
index d67f55f763..df15826f64 100644
--- a/cygwin/Makefile.SHs
+++ b/cygwin/Makefile.SHs
@@ -26,7 +26,7 @@ addtopath=`pwd`
$spitshell >>Makefile <<!GROK!THIS!
cygwin.c: cygwin/cygwin.c
- ln -s cygwin/cygwin.c
+ \$(LNS) cygwin/cygwin.c
# shell script feeding perlld to decent perl
ld2: $& Makefile perlld ${src}/cygwin/ld2.in
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index fc7767ffdc..bece81b1e4 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -7,7 +7,7 @@
#undef USE_DYNAMIC_LOADING
#include "XSUB.h"
-#include <sys/unistd.h>
+#include <unistd.h>
/* see also Cwd.pm */