git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5d3400f
)
conditionalize stdint.h inclusion in lwp
author
Derrick Brashear
<shadow@dementia.org>
Mon, 28 Sep 2009 11:54:02 +0000 (07:54 -0400)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/lwp/lwp.c
b/src/lwp/lwp.c
index
0359967
..
66eb744
100644
(file)
--- a/
src/lwp/lwp.c
+++ b/
src/lwp/lwp.c
@@
-20,7
+20,9
@@
#include <stdlib.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <time.h>
/* allocate externs here */