summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Struct.c
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2020-09-23 21:50:32 +0200
committerLars Kanis <lars@greiz-reinsdorf.de>2020-09-23 22:03:35 +0200
commite60ff07f9d71f36474874cb80d9cf3a51969e0a7 (patch)
treed402ad8196030bf98b35dca883200630704b19ad /ext/ffi_c/Struct.c
parent6d31bf845e6527cc7f67d236a95c0161df969b12 (diff)
downloadffi-e60ff07f9d71f36474874cb80d9cf3a51969e0a7.tar.gz
Remove win32/stdint.h and stdbool.h
Only very old Visual-C compilers before 2010 didn't contain these files. Since the copyright of the included files conflicts with ffi's license, we better remove it. Fixes #693
Diffstat (limited to 'ext/ffi_c/Struct.c')
-rw-r--r--ext/ffi_c/Struct.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/ffi_c/Struct.c b/ext/ffi_c/Struct.c
index 94cf141..92731c8 100644
--- a/ext/ffi_c/Struct.c
+++ b/ext/ffi_c/Struct.c
@@ -31,12 +31,9 @@
#include <sys/types.h>
#ifndef _MSC_VER
# include <sys/param.h>
-# include <stdint.h>
-# include <stdbool.h>
-#else
-# include "win32/stdbool.h"
-# include "win32/stdint.h"
#endif
+#include <stdint.h>
+#include <stdbool.h>
#include <ruby.h>
#include "rbffi.h"
#include "compat.h"