From 400a543b04d12b3d97c7ba50143ef7b21c7166fb Mon Sep 17 00:00:00 2001 From: David Reiss Date: Fri, 25 Jul 2008 19:48:39 +0000 Subject: [PATCH] THRIFT-91. cpp: Fix compilation on Fedora Core 9 It turns out that __STDC_LIMIT_MACROS is not portable. Include limits.h at least until cstdint becomes mainstream. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679885 13f79535-47bb-0310-9956-ffa450edef68 --- compiler/cpp/src/thrifty.yy | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/cpp/src/thrifty.yy b/compiler/cpp/src/thrifty.yy index f4ff6ef9..e5f1736a 100644 --- a/compiler/cpp/src/thrifty.yy +++ b/compiler/cpp/src/thrifty.yy @@ -17,6 +17,7 @@ #define __STDC_FORMAT_MACROS #include #include +#include #include "main.h" #include "globals.h" #include "parse/t_program.h" -- 2.17.1