summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-04-03 12:02:43 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-04-03 12:02:43 -0400
commitad19035dac9c8cb56949d0965117efa92f44bafe (patch)
tree16e7a7354610a53f1f44f39dc0f4d6e3817c8fac
parenta47e145fa914a580875fd39eefd4a22e76587892 (diff)
Include standard headers in global.h
-rw-r--r--include/global.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h
index faa4ace68..4437b7feb 100644
--- a/include/global.h
+++ b/include/global.h
@@ -1,6 +1,8 @@
#ifndef GUARD_GLOBAL_H
#define GUARD_GLOBAL_H
+#include <string.h>
+#include <stdlib.h>
#include "config.h" // we need to define config before gba headers as print stuff needs the functions nulled before defines.
#include "gba/gba.h"
@@ -14,9 +16,6 @@
#define INCBIN_S8 {0}
#define INCBIN_S16 {0}
#define INCBIN_S32 {0}
-void *memcpy (void *, const void *, size_t);
-void *memset (void *, int, size_t);
-int strcmp (const char *, const char *);
#endif
// Prevent cross-jump optimization.