diff options
| author | Bruce Momjian <bruce@momjian.us> | 2002-09-02 02:47:07 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2002-09-02 02:47:07 +0000 |
| commit | 97ac103289a3c751fc99967ac37c2555cbe00473 (patch) | |
| tree | d2caa3cea0ef12cd52aa39d4a8ec6f620b246313 /src/backend/port/dynloader | |
| parent | 248c67d7ed505d98d3a94cd3954835255317ff16 (diff) | |
| download | postgresql-97ac103289a3c751fc99967ac37c2555cbe00473.tar.gz | |
Remove sys/types.h in files that include postgres.h, and hence c.h,
because c.h has sys/types.h.
Diffstat (limited to 'src/backend/port/dynloader')
| -rw-r--r-- | src/backend/port/dynloader/aix.c | 4 | ||||
| -rw-r--r-- | src/backend/port/dynloader/freebsd.c | 7 | ||||
| -rw-r--r-- | src/backend/port/dynloader/netbsd.c | 4 | ||||
| -rw-r--r-- | src/backend/port/dynloader/openbsd.c | 4 |
4 files changed, 9 insertions, 10 deletions
diff --git a/src/backend/port/dynloader/aix.c b/src/backend/port/dynloader/aix.c index a447509c22..97a916d8a3 100644 --- a/src/backend/port/dynloader/aix.c +++ b/src/backend/port/dynloader/aix.c @@ -4,14 +4,14 @@ * 30159 Hannover, Germany */ +#include "postgres.h" + #include <stdio.h> #include <errno.h> -#include <sys/types.h> #include "sys/ldr.h" #include <a.out.h> #include "ldfcn.h" -#include "postgres.h" #include "dynloader.h" #ifndef HAVE_DLOPEN diff --git a/src/backend/port/dynloader/freebsd.c b/src/backend/port/dynloader/freebsd.c index 874eefce36..763749fa45 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 * diff --git a/src/backend/port/dynloader/netbsd.c b/src/backend/port/dynloader/netbsd.c index 26a4ec72c9..2202b6847b 100644 --- a/src/backend/port/dynloader/netbsd.c +++ b/src/backend/port/dynloader/netbsd.c @@ -36,7 +36,8 @@ 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 <nlist.h> #include <link.h> #include <dlfcn.h> @@ -44,7 +45,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]; diff --git a/src/backend/port/dynloader/openbsd.c b/src/backend/port/dynloader/openbsd.c index 26a4ec72c9..2202b6847b 100644 --- a/src/backend/port/dynloader/openbsd.c +++ b/src/backend/port/dynloader/openbsd.c @@ -36,7 +36,8 @@ 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 <nlist.h> #include <link.h> #include <dlfcn.h> @@ -44,7 +45,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]; |
