summaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/dynloader/linux.h')
-rw-r--r--src/backend/port/dynloader/linux.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/backend/port/dynloader/linux.h b/src/backend/port/dynloader/linux.h
index df2852ac58b..6beb3d63f8e 100644
--- a/src/backend/port/dynloader/linux.h
+++ b/src/backend/port/dynloader/linux.h
@@ -15,12 +15,7 @@
#define PORT_PROTOS_H
#include "utils/dynamic_loader.h" /* pgrminclude ignore */
-#ifdef HAVE_DLOPEN
#include <dlfcn.h>
-#endif
-
-
-#ifdef HAVE_DLOPEN
/*
* In some older systems, the RTLD_NOW flag isn't defined and the mode
@@ -39,6 +34,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
-#endif /* HAVE_DLOPEN */
#endif /* PORT_PROTOS_H */