aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent5dbc0fd2208404d52450ee64e84b5a87e581ebf7 (diff)
downloadtor-80cee93f84be3a855515a14edff38752268b5de5.tar
tor-80cee93f84be3a855515a14edff38752268b5de5.tar.gz
include <inttypes.h> if we have it
openbsd on a sparc64 needs this (apparently) svn:r1971
Diffstat (limited to 'src')
-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 101b503be..58ad0713f 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