Browse code

Fix compilation error on HP-UX

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2238 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2006/09/12 01:40:22
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@
36 36
  * TODO: Remove the vcard handling
37 37
  * FIXME: The code does little error checking of OOM scenarios
38 38
  */
39
-static	char	const	rcsid[] = "$Id: pst.c,v 1.31 2006/08/29 07:44:12 njh Exp $";
39
+static	char	const	rcsid[] = "$Id: pst.c,v 1.32 2006/09/11 16:40:22 njh Exp $";
40 40
 
41 41
 #if HAVE_CONFIG_H
42 42
 #include "clamav-config.h"	/* must come first */
... ...
@@ -57,8 +57,8 @@ static	char	const	rcsid[] = "$Id: pst.c,v 1.31 2006/08/29 07:44:12 njh Exp $";
57 57
 #include "cltypes.h"
58 58
 #include "others.h"
59 59
 
60
-#if	defined(C_SOLARIS) || defined(C_WINDOWS)	/* should be in cltypes.h */
61
-typedef	uint16_t	u_int16_t;
60
+#if	defined(C_SOLARIS) || defined(C_WINDOWS) || defined(_HPUX_SOURCE)
61
+typedef	uint16_t	u_int16_t;	/* should be in cltypes.h */
62 62
 typedef	uint32_t	u_int32_t;
63 63
 #endif
64 64