After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691624 - glib/gtester.c: missing include
glib/gtester.c: missing include
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-01-12 20:00 UTC by Yuri Sedunov
Modified: 2013-01-15 16:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yuri Sedunov 2013-01-12 20:00:08 UTC
Missed #include "config.h" so, in particular, large file support (_FILE_OFFSET_BITS) ignored.
Comment 1 Colin Walters 2013-01-12 20:16:42 UTC
Do you want to make a patch?  https://live.gnome.org/GnomeLove/SubmittingPatches
Comment 2 Yuri Sedunov 2013-01-14 19:18:07 UTC
glib-2.34.3-alt-gtester.patch  glib-2.34.3.tar.xz             
[aris@siver BUILD]$ cat ../SOURCES/glib-2.34.3-alt-gtester.patch 
--- glib/gtester.c~	2012-11-20 18:27:12.000000000 +0400
+++ glib/gtester.c	2013-01-12 22:55:24.864307376 +0400
@@ -17,6 +17,8 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#include "config.h"
+
 #include <glib.h>
 #include <gstdio.h>
 #include <string.h>