From: Jake Farrell Date: Fri, 18 May 2012 04:14:45 +0000 (+0000) Subject: Thrift-1326:on some platforms, #include is necessary to be included in... X-Git-Tag: 0.9.1~360 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=f5bae90076fa1cf3235c0425cb8e1809bc6c67ea;p=common%2Fthrift.git Thrift-1326:on some platforms, #include is necessary to be included in Thrift.h Client: contrib/fb303 Patch: Jake Farrell Adding check for needed headers to fb303 configure.ac git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339969 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/contrib/fb303/configure.ac b/contrib/fb303/configure.ac index 67cc1108..c94e2525 100644 --- a/contrib/fb303/configure.ac +++ b/contrib/fb303/configure.ac @@ -78,6 +78,10 @@ AX_BOOST_BASE([1.33.1]) # Change Makefile.am also to add subdirectly. AC_CONFIG_FILES(Makefile cpp/Makefile py/Makefile) +# Check for headers +AC_CHECK_HEADERS([inttypes.h]) +AC_CHECK_HEADERS([netinet/in.h]) + ############################################################################ # DO NOT TOUCH.