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
This commit is contained in:
David Reiss 2008-07-25 19:48:39 +00:00
parent 6144e428d5
commit 400a543b04

View File

@ -17,6 +17,7 @@
#define __STDC_FORMAT_MACROS
#include <stdio.h>
#include <inttypes.h>
#include <limits.h>
#include "main.h"
#include "globals.h"
#include "parse/t_program.h"