Fix build. FreeBSD has <inttypes.h> not <sys/inttypes.h>
PR: 45823 Submitted by: Volker Stolz <vs@foldr.org>
This commit is contained in:
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
|
@ -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
|
||||||
+
|
+
|
||||||
|
|
|
@ -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
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue