summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-06-16 00:49:27 +0000
committerRoger Dingledine <arma@torproject.org>2004-06-16 00:49:27 +0000
commit80cee93f84be3a855515a14edff38752268b5de5 (patch)
treeede10a272ba88a689952aa856bd29cad87a3d17d
parent5dbc0fd2208404d52450ee64e84b5a87e581ebf7 (diff)
downloadtor-80cee93f84be3a855515a14edff38752268b5de5.tar.gz
tor-80cee93f84be3a855515a14edff38752268b5de5.zip
include <inttypes.h> if we have it
openbsd on a sparc64 needs this (apparently) svn:r1971
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 101b503be9..58ad0713fc 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -38,6 +38,9 @@
#endif
#include "../common/torint.h"
#include "../common/fakepoll.h"
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h> /* FreeBSD needs this to know what version it is */
#endif