diff options
-rw-r--r-- | Build/source/libs/poppler/TLpatches/patch-03-time | 13 | ||||
-rw-r--r-- | Build/source/libs/poppler/poppler-src/goo/gfile.h | 5 |
2 files changed, 10 insertions, 8 deletions
diff --git a/Build/source/libs/poppler/TLpatches/patch-03-time b/Build/source/libs/poppler/TLpatches/patch-03-time index 2246093f695..1b9339d1a3d 100644 --- a/Build/source/libs/poppler/TLpatches/patch-03-time +++ b/Build/source/libs/poppler/TLpatches/patch-03-time @@ -1,12 +1,13 @@ $ diff -u gfile.h.orig gfile.h ---- gfile.h.orig 2018-03-22 15:08:01.913911597 +0100 -+++ gfile.h 2018-03-22 15:00:59.106829862 +0100 -@@ -51,6 +51,8 @@ - #elif defined(ACORN) +--- gfile.h.orig 2018-03-26 11:43:40.479917632 +0200 ++++ gfile.h 2018-03-26 11:41:51.965590455 +0200 +@@ -52,6 +52,9 @@ #elif defined(MACOS) # include <ctime.h> -+#elif defined(__NetBSD__) -+#include <time.h> #else ++# if defined(__NetBSD__) ++# include <time.h> ++# endif # include <unistd.h> # include <sys/types.h> + # if defined(VMS) diff --git a/Build/source/libs/poppler/poppler-src/goo/gfile.h b/Build/source/libs/poppler/poppler-src/goo/gfile.h index b3117236eb7..e02de720808 100644 --- a/Build/source/libs/poppler/poppler-src/goo/gfile.h +++ b/Build/source/libs/poppler/poppler-src/goo/gfile.h @@ -51,9 +51,10 @@ extern "C" { #elif defined(ACORN) #elif defined(MACOS) # include <ctime.h> -#elif defined(__NetBSD__) -#include <time.h> #else +# if defined(__NetBSD__) +# include <time.h> +# endif # include <unistd.h> # include <sys/types.h> # if defined(VMS) |