summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/int.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a98c9be..3132486 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ include deps.mk
catalogs.cat = $(catalogs.msg:.msg=.cat)
-sources.h = $(sources.c:.c=.h)
+sources.h = $(sources.c:.c=.h) src/int.h
sources.o = $(sources.c:.c=.o)
tests.o = $(tests.c:.c=.o)
tests.a = $(tests.c:.c=.a)
diff --git a/src/int.h b/src/int.h
new file mode 100644
index 0000000..87e6bd4
--- /dev/null
+++ b/src/int.h
@@ -0,0 +1,8 @@
+typedef signed char i8;
+typedef unsigned char u8;
+typedef signed short i16;
+typedef unsigned short u16;
+typedef signed long i32;
+typedef unsigned long u32;
+typedef signed long long i64;
+typedef unsigned long long u64;