--- /dev/null
+diff -ur bin86-0.16.18.orig/ld/x86_aout.h bin86-0.16.18/ld/x86_aout.h
+--- bin86-0.16.18.orig/ld/x86_aout.h 2003-01-28 22:17:14.000000000 +0000
++++ bin86-0.16.18/ld/x86_aout.h 2012-09-29 14:00:55.188509488 +0000
+@@ -13,7 +13,9 @@
+ typedef long Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <sys/types.h>
++typedef int32_t Long;
+ #endif
+
+ struct exec { /* a.out header */