aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-04-06 17:06:16 +0200
committerGregor Jasny <gjasny@googlemail.com>2012-04-06 18:49:27 +0200
commit2ae581494603be1353172caf7f7f4d7f35759825 (patch)
tree4c886153acbbc22f662b2e343106185001b2308e
parente7eec39c662ec40de0cc551b7c5568809218d1ef (diff)
libv4l2: Prevent GCC 4.7 inlining error
See: http://bugs.debian.org/667406 Signed-off-by: Gregor Jasny <gjasny@googlemail.com> (cherry picked from commit e8ddb0260192cd89a5bfc75d9f2b86a0d90e9dc5)
-rw-r--r--lib/libv4l2/v4l2convert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libv4l2/v4l2convert.c b/lib/libv4l2/v4l2convert.c
index 9e2f5465..e10000b0 100644
--- a/lib/libv4l2/v4l2convert.c
+++ b/lib/libv4l2/v4l2convert.c
@@ -20,6 +20,9 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
*/
+/* prevent GCC 4.7 inlining error */
+#undef _FORTIFY_SOURCE
+
#define _LARGEFILE64_SOURCE 1
#include <stdarg.h>

Privacy Policy