missing include



 While compiling gnome from cvs I got a lot of errors because of undefined
pid_t. Looking at libc.info it says you must include sys/types.h for it so I
made this patch. Is it just me who's using libc6 or are my headers broken ?

nmrf@nuno gnome]$ cvs diff -u gnome-libs/libgnomeui/gnome-client.h 
Index: gnome-libs/libgnomeui/gnome-client.h
===================================================================
RCS file: /debian/home/gnomecvs/gnome-libs/libgnomeui/gnome-client.h,v
retrieving revision 1.7
diff -u -r1.7 gnome-client.h
--- gnome-client.h      1998/02/18 12:34:14     1.7
+++ gnome-client.h      1998/02/25 01:39:29
@@ -5,6 +5,7 @@
 #define GNOME_CLIENT_H
 
 #include <unistd.h>
+#include <sys/types.h>
 #include <gtk/gtkobject.h>
 #include <libgnome/gnome-defs.h>

-- 
Nuno Ferreira
nmrf@rnl.ist.utl.pt



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