Bug 10652

Summary: pkgconfig-0.20 has implicit declarations
Product: pkg-config Reporter: Sandro Bonazzola <sandro.bonazzola>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sandro Bonazzola 2007-04-16 02:43:59 UTC
Please be sure to include all required headers in the following files:

gstrfuncs.c:674: warning: implicit declaration of function 'strsignal'

fix:
#define _GNU_SOURCE
#include <string.h>

popt.c:234: warning: implicit declaration of function ‘setresuid’

fix:
#define _GNU_SOURCE
#include <unistd.h>
Comment 1 Daniel Macks 2007-08-30 11:52:37 UTC
Is it necessary to define _GNU_SOURCE there?
Comment 2 Tollef Fog Heen 2011-05-15 05:12:01 UTC
This has been fixed in git now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.