goo/glibc_strtok_r.cc |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7b434a7ad9333a3b2250d636a517c58d9a12bca2
Author: Pekka Vuorela <pekka.vuor...@jollamobile.com>
Date:   Fri Dec 15 16:56:20 2017 +0200

    Honor configuration for building glibc copy of strtok_r
    
    config.h didn't get included and HAVE_STRTOK_R was never defined.
    Now getting via glibc.h.

diff --git a/goo/glibc_strtok_r.cc b/goo/glibc_strtok_r.cc
index e779bf50..e323bc21 100644
--- a/goo/glibc_strtok_r.cc
+++ b/goo/glibc_strtok_r.cc
@@ -50,12 +50,15 @@
 // Copyright (C) 2012 Alexey Pavlov <alex...@gmail.com>
 // Copyright (C) 2012 Albert Astals Cid <aa...@kde.org>
 // Copyright (C) 2017 Adrian Johnson <ajohn...@redneon.com>
+// Copyright (C) 2017 Pekka Vuorela <pekka.vuor...@jollamobile.com>
 //
 // 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
 //
 //========================================================================
 
+#include "glibc.h"
+
 #ifndef HAVE_STRTOK_R
 
 #include <string.h>
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to