After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683200 - libsoup win32 build fails with implicit getpid() declaration
libsoup win32 build fails with implicit getpid() declaration
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Windows
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-02 11:10 UTC by Kalev Lember
Modified: 2012-09-03 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the win32 build (958 bytes, patch)
2012-09-02 11:11 UTC, Kalev Lember
committed Details | Review

Description Kalev Lember 2012-09-02 11:10:22 UTC
libsoup/soup-auth-digest.c: In function 'soup_auth_digest_authenticate':
libsoup/soup-auth-digest.c:287:5: error: implicit declaration of function 'getpid' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Comment 1 Kalev Lember 2012-09-02 11:11:12 UTC
Created attachment 223194 [details] [review]
Fix the win32 build

Make sure glib.h is included before using G_OS_WIN32 ifdef.
Comment 2 Dan Winship 2012-09-03 12:32:40 UTC
committed with a slight tweak. thanks