--- psqlodbc-08.00.0004/connection.h	2005-01-28 23:36:14.000000000 +0200
+++ psqlodbc-08.00.0004.patch/connection.h	2005-02-27 16:04:37.469858000 +0200
@@ -19,6 +19,10 @@
 #include <pthread.h>
 #endif
 
+#if !defined WIN32 && defined HAVE_SYS_UN_H && !defined HAVE_UNIX_SOCKETS
+#define HAVE_UNIX_SOCKETS
+#endif
+
 typedef enum
 {
 	CONN_NOT_CONNECTED,			/* Connection has not been established */
@@ -239,6 +243,9 @@
 	char		conn_settings[LARGE_REGISTRY_LEN];
 	char		protocol[SMALL_REGISTRY_LEN];
 	char		port[SMALL_REGISTRY_LEN];
+#ifdef HAVE_UNIX_SOCKETS
+	char		uds[LARGE_REGISTRY_LEN];
+#endif
 	char		onlyread[SMALL_REGISTRY_LEN];
 	char		fake_oid_index[SMALL_REGISTRY_LEN];
 	char		show_oid_column[SMALL_REGISTRY_LEN];
diff -Naur psqlodbc-08.00.0004/dlg_specific.c
