Fix build. FreeBSD has <inttypes.h> not <sys/inttypes.h>

PR:		45823
Submitted by:	Volker Stolz <vs@foldr.org>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-11-28 14:59:22 +00:00
parent 8576009e5f
commit b114d1237b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71205
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
#define TRPGDELETEFILE(file) remove((file)) #define TRPGDELETEFILE(file) remove((file))
+# if defined(__FreeBSD__) +# if defined(__FreeBSD__)
+# include <sys/inttypes.h> +# include <inttypes.h>
+typedef int64_t int64; +typedef int64_t int64;
+# else +# else
+ +

View file

@ -5,7 +5,7 @@
#define TRPGDELETEFILE(file) remove((file)) #define TRPGDELETEFILE(file) remove((file))
+# if defined(__FreeBSD__) +# if defined(__FreeBSD__)
+# include <sys/inttypes.h> +# include <inttypes.h>
+typedef int64_t int64; +typedef int64_t int64;
+# else +# else
+ +