[已解决]Error: implicit declaration of function 'MSFindSymbol' is invalid in C99

网上一个经典开源tweak(libobjcipc)git下来make,开始提示xpc/xpc.h没有找到,然后我搜索了下电脑发现在usr/include下,然后拖到theos/include下,又提示缺少launch.h,也从usr/include下拖过来,最后make,提示

IPC.m:83:27: error: implicit declaration of function 'MSFindSymbol' is invalid
      in C99 [-Werror,-Wimplicit-function-declaration]
                        MSHookFunction(((int *)MSFindSymbol(NULL, "_BSAu...

MSFindSymbol无效?看了下github的issue好像都很正常使用的样子,难道是我操作流程的问题?

#include <substrate.h>

我在ipc.m的最上面加了#include <substrate.h>, 仍然提示一样的error,theos/include下是有substrate.h的。
libobjcipc.zip (63.5 KB)

在堆栈溢出上提的问得倒了回答。
原因是因为我的substrate.h文件太老,要用手机上cydia substrate的.h文件就可以
http://iphonedevwiki.net/index.php/Theos/Setup#Missing_Substrate_symbols

It probably means that you have an old Substrate header (see step #6 in setting up Theos for OS X or Linux). To fix this you need to copy /Library/Frameworks/CydiaSubstrate.framework/Headers/CydiaSubstrate.h to your local $THEOS/include folder and rename it to substrate.h.