#include "wx/setup.h"
+/* we have these definitions from configure */
+#if defined(HAVE_DLOPEN)
+ #define DLDAPI_SVR4_DLFCN
+#elif defined(HAVE_SHL_LOAD)
+ #define DLDAPI_HP_SHL
+#endif
+
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>