瀏覽代碼

include <inttypes.h> if we have it
openbsd on a sparc64 needs this (apparently)


svn:r1971

Roger Dingledine 21 年之前
父節點
當前提交
80cee93f84
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/or/or.h

+ 3 - 0
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