freebsd-ports/graphics/osg/files/patch-ac
Mario Sergio Fujikawa Ferreira b114d1237b Fix build. FreeBSD has <inttypes.h> not <sys/inttypes.h>
PR:		45823
Submitted by:	Volker Stolz <vs@foldr.org>
2002-11-28 14:59:22 +00:00

19 lines
375 B
Text

--- src/osgPlugins/txp/ORIG/trpage_sys.h Thu Apr 25 17:31:16 2002
+++ src/osgPlugins/txp/trpage_sys.h Fri May 24 19:24:39 2002
@@ -58,9 +58,16 @@
// Delete a file
#define TRPGDELETEFILE(file) remove((file))
+# if defined(__FreeBSD__)
+# include <inttypes.h>
+typedef int64_t int64;
+# else
+
#ifndef int64
typedef long long int64;
#endif
+
+# endif
#endif