From: Anibal Monsalve Salazar Date: Wed, 20 Nov 2019 13:08:40 -0500 Subject: fix.win32-compat --- lib/rtapelib.c | 1 + src/copyin.c | 1 + src/idcache.c | 1 + src/makepath.c | 1 + src/userspec.c | 1 + 5 files changed, 5 insertions(+) diff --git a/lib/rtapelib.c b/lib/rtapelib.c index 7213031..f6c4d5e 100644 --- a/lib/rtapelib.c +++ b/lib/rtapelib.c @@ -34,6 +34,7 @@ #include "system.h" #include "system-ioctl.h" +#include "sysdep.h" #include #include diff --git a/src/copyin.c b/src/copyin.c index b29f348..e1350af 100644 --- a/src/copyin.c +++ b/src/copyin.c @@ -31,6 +31,7 @@ #ifndef FNM_PATHNAME # include #endif +#include "sysdep.h" #ifndef HAVE_LCHOWN # define lchown(f,u,g) 0 diff --git a/src/idcache.c b/src/idcache.c index 33b0d3f..ad320ee 100644 --- a/src/idcache.c +++ b/src/idcache.c @@ -34,6 +34,7 @@ #endif #include +#include "sysdep.h" struct userid { diff --git a/src/makepath.c b/src/makepath.c index f937166..78926cd 100644 --- a/src/makepath.c +++ b/src/makepath.c @@ -33,6 +33,7 @@ #include "cpiohdr.h" #include "dstring.h" #include "extern.h" +#include "sysdep.h" /* Ensure that the directory ARGPATH exists. Remove any trailing slashes from ARGPATH before calling this function. diff --git a/src/userspec.c b/src/userspec.c index eb3640e..15bc5c3 100644 --- a/src/userspec.c +++ b/src/userspec.c @@ -24,6 +24,7 @@ #include #include #include +#include "sysdep.h" #ifndef HAVE_ENDPWENT # define endpwent()