aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/gethostname.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-08-24 14:07:50 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-08-24 14:07:50 +0000
commit968d7733a19cda3db16947024bd335d877b3d9c3 (patch)
treea39593b292dbfcaad45924e9a20ae90300167524 /src/backend/port/gethostname.c
parent7326e78c4249393359edce09f555aaa049be2a80 (diff)
downloadpostgresql-968d7733a19cda3db16947024bd335d877b3d9c3.tar.gz
postgresql-968d7733a19cda3db16947024bd335d877b3d9c3.zip
Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
places that were including the wrong files.
Diffstat (limited to 'src/backend/port/gethostname.c')
-rw-r--r--src/backend/port/gethostname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/port/gethostname.c b/src/backend/port/gethostname.c
index be7046e7c0e..568a2221a9d 100644
--- a/src/backend/port/gethostname.c
+++ b/src/backend/port/gethostname.c
@@ -1,12 +1,12 @@
-/* $Id: gethostname.c,v 1.4 1998/09/01 03:24:25 momjian Exp $ */
+/* $Id: gethostname.c,v 1.5 2001/08/24 14:07:49 petere Exp $ */
+
+#include "c.h"
#include <sys/types.h>
#include <string.h>
#include <sys/utsname.h>
-#include "config.h"
-
int
gethostname(char *name, int namelen)
{