GitHub user ehrmann opened a pull request: https://github.com/apache/thrift/pull/477
THRIFT-3123: Include stdio.h to get a definition for FILE `FILE` is referenced on line 102 `extern FILE* yyin;`. I was cross compiling, and the definition for `FILE` not being included caused the build to fail, so I included it. I built again on Debian and FreeBSD, and it builds fine with the change You can merge this pull request into a Git repository by running: $ git pull https://github.com/ehrmann/thrift THRIFT-3123 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/477.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #477 ---- commit c5f12960e7764dabe0a155e80ec256786ed06a1f Author: David Ehrmann <ehrm...@gmail.com> Date: 2015-05-04T06:05:30Z Include stdio.h to get a definition for FILE ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---