]> git.sesse.net Git - x264/commitdiff
Add FreeBSD's stdint.h header guard to allowed list
authorAnton Mitrofanov <BugMaster@narod.ru>
Fri, 19 Jun 2015 13:01:12 +0000 (16:01 +0300)
committerAnton Mitrofanov <BugMaster@narod.ru>
Thu, 16 Jul 2015 21:41:26 +0000 (00:41 +0300)
Patch written by Koop Mast <kwm@FreeBSD.org>

x264.h

diff --git a/x264.h b/x264.h
index 7cc5fccf9cddeea74c6496d01924ae25dcd03f5b..17495511d0d2d757e49668c1b165989f221f791f 100644 (file)
--- a/x264.h
+++ b/x264.h
@@ -29,7 +29,7 @@
 #define X264_X264_H
 
 #if !defined(_STDINT_H) && !defined(_STDINT_H_) && !defined(_STDINT_H_INCLUDED) && !defined(_STDINT) &&\
-    !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) && !defined(_INTTYPES)
+    !defined(_SYS_STDINT_H_) && !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) && !defined(_INTTYPES)
 # ifdef _MSC_VER
 #  pragma message("You must include stdint.h or inttypes.h before x264.h")
 # else