Modernize "C" includes in misc.

This is one of those little chores in managing a long-lived C++
project: standard C headers like stdio.h and math.h now have their own
place in the C++ standard as resp. cstdio, cmath, and so on.  In this
branch the #include names are updated for the misc/ subdirectory; more
branches to follow.

C++11 adds cstdint, but to support compilation with the previous
standard, that change is left for later.
This commit is contained in:
Jeroen Vermeulen 2015-03-28 20:18:39 +07:00
parent a9c8f44896
commit 98e09b14cb

View File

@ -10,7 +10,7 @@
#include "moses/TranslationModel/ProbingPT/quering.hh"
#include <stdio.h>
#include <cstdio>
#include <sys/types.h>
#include <sys/stat.h>