summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Widget.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index 9bcaf0beb..ea86abe9c 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -37,7 +37,11 @@
\todo typedef's fl_intptr_t and fl_uintptr_t should be documented.
*/
#ifdef _WIN64
+#ifdef __GNUC__
#include <stdint.h>
+#else
+#include <stddef.h> // M$VC
+#endif
typedef intptr_t fl_intptr_t;
typedef uintptr_t fl_uintptr_t;
#else