We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5089f6c commit ecefacdCopy full SHA for ecefacd
src/backend/postmaster/postmaster.c
@@ -10,7 +10,7 @@
10
*
11
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.47 1997/07/30 14:03:33 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.48 1997/07/30 14:08:11 scrappy Exp $
14
15
* NOTES
16
@@ -35,7 +35,11 @@
35
/* moved here to prevent double define */
36
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
37
#ifdef HAVE_NETDB_H
38
-#include <netdb.h> /* for MAXHOSTNAMELEN on some */
+# include <netdb.h> /* for MAXHOSTNAMELEN on some */
39
+#endif
40
+
41
+#ifndef MAXHOSTNAMELEN
42
+# define MAXHOSTNAMELEN 256
43
#endif
44
45
#include "postgres.h"
0 commit comments