aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/dynloader/freebsd.c')
-rw-r--r--src/backend/port/dynloader/freebsd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/port/dynloader/freebsd.c b/src/backend/port/dynloader/freebsd.c
index 874eefce36a..763749fa450 100644
--- a/src/backend/port/dynloader/freebsd.c
+++ b/src/backend/port/dynloader/freebsd.c
@@ -36,7 +36,9 @@
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
+#include "postgres.h"
+#include "dynloader.h"
+
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
@@ -44,9 +46,6 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <stdio.h>
#include <stdlib.h>
-#include "postgres.h"
-#include "dynloader.h"
-
static char error_message[BUFSIZ];
char *