summaryrefslogtreecommitdiffhomepage
path: root/src/os.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-01-06 23:57:01 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2022-01-06 23:57:01 +0000
commit149d03af77dfc12b5b977c30d9a2de7afe26385e (patch)
treeedb68dfd7225bd3c8c8c7194e1f94525de3b271b /src/os.h
parent4ed68f73dae9e7621d7d7512b5feb686e9440bb2 (diff)
Fix a couple of other latent woopsies
The format string one is cool because it implies the Windows code was also always wrong but the Windows headers aren't annotated for Clang so I guess that means it doesn't warn. At least for the nonstandard Windows wide character versions of things. Cool!
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os.h b/src/os.h
index d231e67..0b4d5e1 100644
--- a/src/os.h
+++ b/src/os.h
@@ -42,6 +42,7 @@
#else
#include <dlfcn.h>
#include <limits.h>
+#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <sys/mman.h>