]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
include <inttypes.h> if we have it
authorRoger Dingledine <arma@torproject.org>
Wed, 16 Jun 2004 00:49:27 +0000 (00:49 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 16 Jun 2004 00:49:27 +0000 (00:49 +0000)
openbsd on a sparc64 needs this (apparently)

svn:r1971

src/or/or.h

index 101b503be941ec4529f807055147b5d105338b87..58ad0713fc854b57c5d3309dfc17617b8169840b 100644 (file)
@@ -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