summaryrefslogtreecommitdiff
path: root/packages/gpe-gallery/files/mcheck.patch
blob: a2f2376eba5809476f5520434a9ef3933fc70561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: gpe-gallery-0.95/main.c
===================================================================
--- gpe-gallery-0.95.orig/main.c	2004-09-07 09:01:39.000000000 -0500
+++ gpe-gallery-0.95/main.c	2004-11-18 15:55:18.856050416 -0600
@@ -19,7 +19,9 @@
 #include <fcntl.h>
 #include <math.h>
 #include <time.h>
+#ifdef USE_MCHECK
 #include <mcheck.h>
+#endif
 
 #include <gtk/gtk.h>
 #include <gdk/gdk.h>
@@ -1115,7 +1117,9 @@
   GdkBitmap *bmap;
   struct stat arg_stat;
 
+#ifdef USE_MCHECK
   mtrace ();
+#endif
 
   if (gpe_application_init (&argc, &argv) == FALSE)
     exit (1);