Compile fix



Seems like gcc 2.96 warns when it cannot find strcmp which is in
string.h, this fixes it :) (Has already been approved by mjs and
committed)

//andersca
andersca@gnu.org
Index: oafd/od-utils.c
===================================================================
RCS file: /cvs/gnome/oaf/oafd/od-utils.c,v
retrieving revision 1.5
diff -u -r1.5 od-utils.c
--- oafd/od-utils.c	2000/07/26 01:01:50	1.5
+++ oafd/od-utils.c	2000/08/13 09:09:58
@@ -25,6 +25,7 @@
 #include "config.h"
 #include "od-utils.h"
 #include "oaf-i18n.h"
+#include <string.h>
 #include <tree.h> /* gnome-xml */
 #include <parser.h> /* gnome-xml */
 #include <xmlmemory.h> /* guess what ? gnome-xml !! */
Index: utils/oaf-sysconf.c
===================================================================
RCS file: /cvs/gnome/oaf/utils/oaf-sysconf.c,v
retrieving revision 1.2
diff -u -r1.2 oaf-sysconf.c
--- utils/oaf-sysconf.c	2000/07/26 01:01:51	1.2
+++ utils/oaf-sysconf.c	2000/08/13 09:10:00
@@ -25,6 +25,7 @@
 #include "config.h"
 #include "oaf-i18n.h"
 #include <glib.h>
+#include <string.h>
 #include <tree.h>        /* gnome-xml */
 #include <parser.h>      /* gnome-xml */
 #include <xmlmemory.h>   /* gnome-xml */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]