diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index a77a2afccffa12018fe12c3d46f8cc5c5c503b5f..b4d7407f12de8815318e10bee2e0bbe35902dd5e 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: libpq.h,v 1.10 1998/01/26 01:42:18 scrappy Exp $
+ * $Id: libpq.h,v 1.11 1998/01/26 01:49:19 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef LIBPQ_H
 #define LIBPQ_H
 
+#include <sys/types.h>
+
 #include <netinet/in.h>
 
 #include "libpq/libpq-be.h"