1 /* We include this to get __BIONIC__, 2 * but this means _BSD_SOURCE and/or _GNU_SOURCE 3 * must be set in the .bp file. */ 4 #include <sys/cdefs.h> 5 6 #if defined(__BIONIC__) 7 # include <event2/event-config-bionic.h> 8 #else 9 # if defined(__linux__) 10 # include <event2/event-config-linux.h> 11 # elif defined(__APPLE__) 12 # include <event2/event-config-darwin.h> 13 # else 14 # error No event-config.h suitable for this distribution. 15 # endif 16 #endif /* ifdef __BIONIC__ */ 17