Index: pgadmin/debugger/dbgPgConn.cpp
===================================================================
--- pgadmin/debugger/dbgPgConn.cpp	(revision 7390)
+++ pgadmin/debugger/dbgPgConn.cpp	(working copy)
@@ -26,8 +26,13 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <netinet/in.h>
+
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
 #endif
 
+#endif
+
 ////////////////////////////////////////////////////////////////////////////////
 // dbgPgConn constructors
 //
