summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2001-08-24 16:59:10 +0000
committerBruce Momjian2001-08-24 16:59:10 +0000
commit41427692577801580562aeaee2164c54db2257eb (patch)
tree4ddfba0805461ff25dba8089274e593d527b8916 /src/include
parent76a6da8a1b01e23091da65f5e167d67f5274d740 (diff)
There are two problems when compiling libpq.dll and psql.exe
on Windows. I'm not sure it is the best way to fix them (see patch below.) Mikhail Terekhov with mods by Tom Lane
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/hba.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index da506d7aee8..02eee16d9a0 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -4,14 +4,16 @@
* Interface to hba.c
*
*
- * $Id: hba.h,v 1.24 2001/08/16 16:24:16 momjian Exp $
+ * $Id: hba.h,v 1.25 2001/08/24 16:59:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HBA_H
#define HBA_H
+#ifndef WIN32
#include <netinet/in.h>
+#endif
#define CONF_FILE "pg_hba.conf"
/* Name of the config file */