RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
195 stars 42 forks source link

Add missing include in asardll.c #313

Closed Atari2 closed 4 months ago

Atari2 commented 4 months ago

This commit adds an #include <stdlib.h> in asardll.c This is because otherwise malloc and free functions are not defined anywhere, causing warnings (at least in msvc).

e.g. warning C4013: 'malloc' undefined; assuming extern returning int warning C4013: 'free' undefined; assuming extern returning int