libn64: Fix a bug reported by @einhov.
authorTyler J. Stachecki <stachecki.tyler@gmail.com>
Wed, 27 Dec 2017 01:44:57 +0000 (20:44 -0500)
committerTyler J. Stachecki <stachecki.tyler@gmail.com>
Wed, 27 Dec 2017 01:44:57 +0000 (20:44 -0500)
syscall.h makes use of libn64func, so we must include
libn64.h before declaring all the syscall wrappers.

Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
libn64/include/syscall.h

index 4db76fa..41b2890 100644 (file)
@@ -34,6 +34,7 @@
 #define LIBN64_NOMSGS                    LIBN64_NOBLOCK
 
 #ifndef __ASSEMBLER__
+#include <libn64.h>
 #include <stdint.h>
 #include <time.h>