]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compile fix for HP-UX
authorTimo Sirainen <tss@iki.fi>
Wed, 11 May 2011 13:58:07 +0000 (16:58 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 11 May 2011 13:58:07 +0000 (16:58 +0300)
src/lib/compat.h

index f90c4e40af09e3bf8cb0d8485d11b85407d56025..0bc7693094624d6a73efb0df110f6267e99fde53 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef COMPAT_H
 #define COMPAT_H
 
-#if defined (HAVE_INTTYPES_H) && defined(__osf__)
+#if defined (HAVE_INTTYPES_H) && (defined(__osf__) || defined(_HPUX_SOURCE))
 #  include <inttypes.h>
 #endif