[or-cvs] include <inttypes.h> if we have it

Roger Dingledine arma at seul.org
Wed Jun 16 00:49:29 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	or.h 
Log Message:
include <inttypes.h> if we have it
openbsd on a sparc64 needs this (apparently)


Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.366
retrieving revision 1.367
diff -u -d -r1.366 -r1.367
--- or.h	7 Jun 2004 20:00:30 -0000	1.366
+++ or.h	16 Jun 2004 00:49:27 -0000	1.367
@@ -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



More information about the tor-commits mailing list