GNOME Bugzilla – Bug 574441
wait.h doesn't exist, but sys/wait.h does
Last modified: 2009-10-27 11:06:21 UTC
gcc -DHAVE_CONFIG_H -I. -I/Source/metacity/metacity/src -I.. -I/Source/metacity/metacity/src/include -DMETACITY_LIBEXECDIR=\"/opt/local/libexec\" -DHOST_ALIAS=\"\" -DMETACITY_LOCALEDIR=\"/opt/local/share/locale\" -DMETACITY_PKGDATADIR=\"/opt/local/share/metacity\" -DMETACITY_DATADIR=\"/opt/local/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1 -D_REENTRANT -DORBIT2=1 -I/usr/include/libpng12 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/startup-notification-1.0 -I/opt/local/include/libgtop-2.0 -I/opt/local/include -I/usr/X11R6/include -arch ppc -g -Wall -Wno-long-double -pipe -no-cpp-precomp -Dsocklen_t=int -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_3 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 'core/main.c' || echo '/Source/metacity/metacity/src/'`core/main.c /Source/metacity/metacity/src/core/main.c:61:18: wait.h: No such file or directory /Source/metacity/metacity/src/core/main.c: In function `sigchld_handler': /Source/metacity/metacity/src/core/main.c:393: warning: implicit declaration of function `waitpid' /Source/metacity/metacity/src/core/main.c:393: error: `WNOHANG' undeclared (first use in this function) /Source/metacity/metacity/src/core/main.c:393: error: (Each undeclared identifier is reported only once /Source/metacity/metacity/src/core/main.c:393: error: for each function it appears in.) make[5]: *** [main.o] Error 1
Created attachment 130224 [details] [review] small patch
*** This bug has been marked as a duplicate of bug 598572 ***