[poppler] goo/glibc_strtok_r.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon Dec 18 23:42:17 UTC 2017
goo/glibc_strtok_r.cc | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 7b434a7ad9333a3b2250d636a517c58d9a12bca2
Author: Pekka Vuorela <pekka.vuorela at 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 <alexpux at gmail.com>
// Copyright (C) 2012 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2017 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2017 Pekka Vuorela <pekka.vuorela at 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>
More information about the poppler
mailing list