summaryrefslogtreecommitdiff
path: root/lib/lanplus/lanplus_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lanplus/lanplus_defs.h')
-rw-r--r--lib/lanplus/lanplus_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lanplus/lanplus_defs.h b/lib/lanplus/lanplus_defs.h
index dbce90d..2ba35b7 100644
--- a/lib/lanplus/lanplus_defs.h
+++ b/lib/lanplus/lanplus_defs.h
@@ -38,10 +38,13 @@
#if defined(HAVE_CONFIG_H)
#include "config.h"
#else
+#ifndef HPUX
+/* HPUX already has socklen_t but no #define */
#ifndef socklen_t
typedef unsigned int socklen_t;
#endif
#endif
+#endif
#if defined(MACOS)