GNOME Bugzilla – Bug 173094
process.h is needed for getpid in gmessages.c
Last modified: 2005-05-20 15:27:39 UTC
Please describe the problem: getpid is used without prototype. 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:
Fixed.
It was unsuitable. You fixed other file(glib/gutils.c). gmessages.c is not fixed yet. http://cvs.gnome.org/viewcvs/glib/ChangeLog?rev=1.1941&view=markup