vmt / udis86

Disassembler Library for x86 and x86-64
http://udis86.sourceforge.net
BSD 2-Clause "Simplified" License
1.02k stars 299 forks source link

Fix standalone compilation #69

Closed vegard closed 9 years ago

vegard commented 10 years ago

udint.h needs to include types.h in order to get the UD_STANDALONE macro. Otherwise it will think we're in non-standalone mode and fail to compile in standalone mode.

This fix seems to work for me, please check if it's the right way to do it. (If not, feel free to just fix it in the right way!)

vmt commented 9 years ago

Thank you.