Patch: fix warnings in backend/val-encode.c



The following patch removes some warnings in backend/val-encode.c when
GConf is compiled with latest glibc

Can I commit to both branches ?
-- 
Frédéric Crozat
MandrakeSoft
--- GConf-1.0.1/backends/val-encode.c.orig	Fri Oct  6 19:26:24 2000
+++ GConf-1.0.1/backends/val-encode.c	Tue May 15 14:07:44 2001
@@ -19,11 +19,16 @@
  */
 
 #include <string.h>
+#include <stdlib.h>
+#include <stdio.h>
 
 #include <gconf/gconf.h>
 
 /* required for gconf_value_new_from_string() */
 #include <gconf/gconf-internals.h>
+
+/* required for _gconf_slist_free_all */
+#include "dir-utils.h"
 
 /* GConf Value type character identifiers */
 static const char bdb_string = 's';


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