summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Egger <degger@fhm.edu>2001-10-29 18:49:28 +0000
committerDaniel Egger <egger@src.gnome.org>2001-10-29 18:49:28 +0000
commit062ecaf1ed6be60135ea19214bfa3e99a3b2aa93 (patch)
tree432179cf820fd074921ae5467b73807efb6d0022 /tests
parent227ae2a96c37d37912a63d1432e008e3ac1734ef (diff)
downloadglib-062ecaf1ed6be60135ea19214bfa3e99a3b2aa93.tar.gz
glib-062ecaf1ed6be60135ea19214bfa3e99a3b2aa93.tar.bz2
glib-062ecaf1ed6be60135ea19214bfa3e99a3b2aa93.zip
Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include
2001-10-29 Daniel Egger <degger@fhm.edu> * glib/gbacktrace.h: Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include <signal.h> and use SIGTRAP. * glib/gmessages.c: Conditionalise definition of args2 depending on the definition of HAVE_VSNPRINTF to avoid compiler warning. * gobject/testgruntime.c * tests/patterntest.c: Include <string.h> to avoid warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/patterntest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/patterntest.c b/tests/patterntest.c
index f88109878..1dc4cfa92 100644
--- a/tests/patterntest.c
+++ b/tests/patterntest.c
@@ -16,8 +16,10 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-#include "glib.h"
+#include <string.h>
+
+#include "glib.h"
/* keep enum and structure of gpattern.c and patterntest.c in sync */
typedef enum