Usermode/ld-acess - Fixed ld-acess failing to compile due to assert()
authorJohn Hodge <[email protected]>
Thu, 19 Sep 2013 04:01:56 +0000 (12:01 +0800)
committerJohn Hodge <[email protected]>
Thu, 19 Sep 2013 04:01:56 +0000 (12:01 +0800)
Usermode/Libraries/ld-acess.so_src/common.h
Usermode/Libraries/ld-acess.so_src/main.c

index 125d1e5..ac07f9c 100644 (file)
@@ -11,6 +11,7 @@
 #include <stdarg.h>
 #include <stdint.h>
 #include <acess/sys.h>
+#include <assert.h>
 
 typedef        uintptr_t       Uint;
 typedef uint8_t        Uint8;
index e379a70..40c603e 100644 (file)
@@ -97,6 +97,11 @@ int CallUser(void *entry, void *sp)
        for(;;);\r
 }\r
 \r
+void exit(int val)\r
+{\r
+       _exit(val);\r
+}\r
+\r
 void abort(void)\r
 {\r
        _exit(-4);\r

UCC git Repository :: git.ucc.asn.au