vs2008貌似不支持c99,因此会出现缺少stdint.h的错误,
简单的办法:
#ifdef _MSC_VER
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#else
#include <stdint.h>
#endif
复杂点的办法:
下载一个stdint.h
但可能又需要其他的头文件