fofi/FoFiType1.cc            |    2 ++
 poppler/CharCodeToUnicode.cc |    2 ++
 poppler/GlobalParams.cc      |    2 ++
 poppler/PDFDoc.cc            |    2 ++
 poppler/UnicodeMap.cc        |    2 ++
 5 files changed, 10 insertions(+)

New commits:
commit 0a9d6debdb3d4e28d9125a007244bca0c1cd760a
Author: Jean Ghali <[email protected]>
Date:   Fri Nov 17 23:13:56 2017 +0100

    Include glibc.h where needed
    
    at least for strtok_r

diff --git a/fofi/FoFiType1.cc b/fofi/FoFiType1.cc
index a07a96c3..a73b77c2 100644
--- a/fofi/FoFiType1.cc
+++ b/fofi/FoFiType1.cc
@@ -18,6 +18,7 @@
 // Copyright (C) 2010 Jakub Wilk <[email protected]>
 // Copyright (C) 2014 Carlos Garcia Campos <[email protected]>
 // Copyright (C) 2017 Adrian Johnson <[email protected]>
+// Copyright (C) 2017 Jean Ghali <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -33,6 +34,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
+#include "goo/glibc.h"
 #include "goo/gmem.h"
 #include "goo/GooLikely.h"
 #include "FoFiEncodings.h"
diff --git a/poppler/CharCodeToUnicode.cc b/poppler/CharCodeToUnicode.cc
index 10464547..abf5d51c 100644
--- a/poppler/CharCodeToUnicode.cc
+++ b/poppler/CharCodeToUnicode.cc
@@ -24,6 +24,7 @@
 // Copyright (C) 2012, 2017 Adrian Johnson <[email protected]>
 // Copyright (C) 2014 Jiri Slaby <[email protected]>
 // Copyright (C) 2015 Marek Kasik <[email protected]>
+// Copyright (C) 2017 Jean Ghali <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -38,6 +39,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include "goo/glibc.h"
 #include "goo/gmem.h"
 #include "goo/gfile.h"
 #include "goo/GooLikely.h"
diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 823b1e82..1f2b4ec0 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -36,6 +36,7 @@
 // Copyright (C) 2012 Peter Breitenlohner <[email protected]>
 // Copyright (C) 2013, 2014 Jason Crain <[email protected]>
 // Copyright (C) 2017 Christoph Cullmann <[email protected]>
+// Copyright (C) 2017 Jean Ghali <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -60,6 +61,7 @@
 #  include <shlobj.h>
 #  include <mbstring.h>
 #endif
+#include "goo/glibc.h"
 #include "goo/gmem.h"
 #include "goo/GooString.h"
 #include "goo/GooList.h"
diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 147d1f45..90f039d8 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -35,6 +35,7 @@
 // Copyright (C) 2015 André Guerreiro <[email protected]>
 // Copyright (C) 2015 André Esser <[email protected]>
 // Copyright (C) 2016 Jakub Alba <[email protected]>
+// Copyright (C) 2017 Jean Ghali <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -58,6 +59,7 @@
 #include <string.h>
 #include <time.h>
 #include <sys/stat.h>
+#include "goo/glibc.h"
 #include "goo/gstrtod.h"
 #include "goo/GooString.h"
 #include "goo/gfile.h"
diff --git a/poppler/UnicodeMap.cc b/poppler/UnicodeMap.cc
index 0340ef65..25b3de13 100644
--- a/poppler/UnicodeMap.cc
+++ b/poppler/UnicodeMap.cc
@@ -16,6 +16,7 @@
 // Copyright (C) 2010 Jakub Wilk <[email protected]>
 // Copyright (C) 2017 Albert Astals Cid <[email protected]>
 // Copyright (C) 2017 Adrian Johnson <[email protected]>
+// Copyright (C) 2017 Jean Ghali <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -30,6 +31,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include "goo/glibc.h"
 #include "goo/gmem.h"
 #include "goo/gfile.h"
 #include "goo/GooString.h"
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to