#ifndef __LSB_VERSION__ // dlfcn.h manual requires _GNU_SOURCE for RTLD_DEFAULT #define _GNU_SOURCE #endif #include #include "lsb_helpers.h" char DEFAULT_name[] = "RTLD_DEFAULT"; int DEFAULT_available() { //always available return 1; } void* DEFAULT_handle() { return RTLD_DEFAULT; }