conditionalize stdint.h inclusion in lwp
authorDerrick Brashear <shadow@dementia.org>
Mon, 28 Sep 2009 11:54:02 +0000 (07:54 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Mon, 28 Sep 2009 11:55:24 +0000 (04:55 -0700)
Irix has no stdint.h; wrap in ifdefs so we don't include
when we don't have it.

Reviewed-on: http://gerrit.openafs.org/530
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/lwp/lwp.c

index 0359967..66eb744 100644 (file)
@@ -20,7 +20,9 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 #include <time.h>
 
 /* allocate externs here */