Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 16827 | Differences between
and this patch

Collapse All | Expand All

(-)base.1/sys/unix/unixres.c (-3 / +8 lines)
Lines 14-27 Link Here
14
 * hide them.
14
 * hide them.
15
 */
15
 */
16
16
17
/* _GNU_SOURCE has to be set before including config.h, as otherwise
18
 * features.h will be included and it will be too late.
19
 */
20
21
#if defined(linux) && defined(__GNUC__)
22
# define _GNU_SOURCE
23
#endif
24
17
#include "config.h"
25
#include "config.h"
18
26
19
#ifdef GETRES_SUPPORT
27
#ifdef GETRES_SUPPORT
20
28
21
# if defined(LINUX)
29
# if defined(LINUX)
22
#ifdef __GNUC__
23
#define _GNU_SOURCE
24
#endif
25
30
26
/* requires dynamic linking with libc */
31
/* requires dynamic linking with libc */
27
#include <dlfcn.h>
32
#include <dlfcn.h>

Return to bug 16827