freebsd-ports/multimedia/gopchop/files/patch-include::GOPchop.h
Daichi GOTO c524310cfe update multimedia/gopchop: 0.8 --> 0.9.0
PR:		53106
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-07-01 10:27:56 +00:00

26 lines
577 B
C

--- include/GOPchop.h.orig Sun Apr 27 13:13:19 2003
+++ include/GOPchop.h Sun Jun 8 16:59:13 2003
@@ -31,7 +31,13 @@
#endif
/* get the cool numbers */
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
/* import locale functions */
#include "gettext.h"
@@ -50,7 +56,7 @@
#endif
/* figure out off_t formatting */
-#if _FILE_OFFSET_BITS==64
+#if _FILE_OFFSET_BITS==64 || defined(__FreeBSD__)
# define OFF_T_FORMAT "llu"
#else
# warning "Not compiling for large file (>2G) support!"