about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-12-26 14:48:05 +0000
committerAlexander Barton <alex@barton.de>2002-12-26 14:48:05 +0000
commit4f6f84e7e1bc015e201e8a79e13b0906dcb23ec1 (patch)
tree895dbaa57c0583fca4be12533412fbb8db71dded /src
parentb8456d1ba66e73a9d95d2cd73f1feef70f5b5497 (diff)
downloadngircd-4f6f84e7e1bc015e201e8a79e13b0906dcb23ec1.tar.gz
ngircd-4f6f84e7e1bc015e201e8a79e13b0906dcb23ec1.zip
- include <sys/types.h>, if available.
Diffstat (limited to 'src')
-rw-r--r--src/portab/portab.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h
index 529d46a0..83f82ed6 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: portab.h,v 1.10 2002/12/26 13:26:34 alex Exp $
+ * $Id: portab.h,v 1.11 2002/12/26 14:48:05 alex Exp $
  *
  * Portability functions and declarations (header for libngbportab).
  */
@@ -20,6 +20,10 @@
 
 #include "config.h"
 
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
 
 /* compiler features */