GNOME Bugzilla – Bug 305462
process.h is needed for getpid in gmessages.c (again)
Last modified: 2005-07-14 17:29:09 UTC
Please describe the problem: Bug #173094 was fixed incorrectly. glib/gutils.c was fixed by non-necessity, but glib/gmessages.c wasn't yet. http://cvs.gnome.org/viewcvs/glib/ChangeLog?rev=1.1941&view=markup Steps to reproduce: 1. compile by Visual C++ Actual results: Following message is displayed. gmessages.c(887) : error C4013: 'getpid' undefined; assuming extern returning int Expected results: add "include <process.h>" when defined G_OS_WIN32 Does this happen every time? every time Other information:
Fix in glib-2-6, already fixed in HEAD.