View | Details | Raw Unified
Collapse All | Expand All

(-) base.1/sys/unix/unixres.c (-3 / +8 lines)
 Lines 14-27    Link Here 
 * hide them.
 * hide them.
 */
 */
/* _GNU_SOURCE has to be set before including config.h, as otherwise
 * features.h will be included and it will be too late.
 */
#if defined(linux) && defined(__GNUC__)
# define _GNU_SOURCE
#endif
#include "config.h"
#include "config.h"
#ifdef GETRES_SUPPORT
#ifdef GETRES_SUPPORT
# if defined(LINUX)
# if defined(LINUX)
#ifdef __GNUC__
#define _GNU_SOURCE
#endif
/* requires dynamic linking with libc */
/* requires dynamic linking with libc */
#include <dlfcn.h>
#include <dlfcn.h>