aboutsummaryrefslogtreecommitdiff
path: root/win32/lib
diff options
context:
space:
mode:
authorJames Buren <ryu0@ymail.com>2014-11-03 16:16:03 -0600
committerJames Buren <ryu0@ymail.com>2014-11-03 16:17:15 -0600
commit1e07ea71d3f564beb7f71dd868499eef996ffbae (patch)
tree2f9987472c5e06296c224875da686896407013d9 /win32/lib
parent26b26f355fe854d5c61919d886e09b5f7acd4a3e (diff)
downloadtinycc-1e07ea71d3f564beb7f71dd868499eef996ffbae.tar.gz
tinycc-1e07ea71d3f564beb7f71dd868499eef996ffbae.tar.bz2
win32: fix implicit function warning
This includes windows.h to fix a warning about an implicit function usage of ExitProcess().
Diffstat (limited to 'win32/lib')
-rw-r--r--win32/lib/crt1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/lib/crt1.c b/win32/lib/crt1.c
index 5e80bd3..0be446f 100644
--- a/win32/lib/crt1.c
+++ b/win32/lib/crt1.c
@@ -2,6 +2,8 @@
// crt1.c
#include <stdlib.h>
+// For ExitProcess
+#include <windows.h>
#define __UNKNOWN_APP 0
#define __CONSOLE_APP 1