[poppler] fofi/FoFiType1.cc poppler/CharCodeToUnicode.cc poppler/GlobalParams.cc poppler/PDFDoc.cc poppler/UnicodeMap.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Nov 17 22:15:34 UTC 2017


 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 <jghali at libertysurf.fr>
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 <jwilk at jwilk.net>
 // Copyright (C) 2014 Carlos Garcia Campos <carlosgc at gnome.org>
 // Copyright (C) 2017 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2017 Jean Ghali <jghali at libertysurf.fr>
 //
 // 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 <ajohnson at redneon.com>
 // Copyright (C) 2014 Jiri Slaby <jirislaby at gmail.com>
 // Copyright (C) 2015 Marek Kasik <mkasik at redhat.com>
+// Copyright (C) 2017 Jean Ghali <jghali at libertysurf.fr>
 //
 // 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 <peb at mppmu.mpg.de>
 // Copyright (C) 2013, 2014 Jason Crain <jason at aquaticape.us>
 // Copyright (C) 2017 Christoph Cullmann <cullmann at kde.org>
+// Copyright (C) 2017 Jean Ghali <jghali at libertysurf.fr>
 //
 // 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 <aguerreiro1985 at gmail.com>
 // Copyright (C) 2015 André Esser <bepandre at hotmail.com>
 // Copyright (C) 2016 Jakub Alba <jakubalba at gmail.com>
+// Copyright (C) 2017 Jean Ghali <jghali at libertysurf.fr>
 //
 // 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 <jwilk at jwilk.net>
 // Copyright (C) 2017 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2017 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2017 Jean Ghali <jghali at libertysurf.fr>
 //
 // 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"


More information about the poppler mailing list