CVS imlib gdk_private_imlib.h problem



It's not guarded against multiple includes, so imlib compile dies with 
redeclared structures and such.

Index: gdk_imlib/gdk_imlib_private.h
===================================================================
RCS file: /cvs/gnome/imlib/gdk_imlib/gdk_imlib_private.h,v
retrieving revision 1.26
diff -u -r1.26 gdk_imlib_private.h
--- gdk_imlib_private.h	1999/01/12 22:30:12	1.26
+++ gdk_imlib_private.h	1999/01/13 13:09:51
@@ -1,3 +1,5 @@
+#ifndef _GDK_IMLIB_PRIVATE_H_
+
 #ifndef CONVERT_PATH
 #define CONVERT_PATH "/usr/local/bin"
 #endif
@@ -226,3 +228,6 @@
 typedef GdkImlibImage *(*gdk_imlib_load_alpha_fn)(char *file);
 
 extern gdk_imlib_load_alpha_fn _gdk_imlib_load_alpha_png;
+
+#define _GDK_IMLIB_PRIVATE_H_
+#endif /* _GDK_IMLIB_PRIVATE_H_ */

--IAA12276.916235894/hilfy.ece.cmu.edu
Content-Type: text/plain

brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university	      ["God, root, what is difference?" -Pitr]




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