summaryrefslogtreecommitdiffstats
path: root/PICA_node.c
diff options
context:
space:
mode:
authorAnton <anton@picapica>2019-03-08 20:02:47 +0400
committerAnton <anton@picapica>2019-03-08 20:02:47 +0400
commitd47f7d6c5c7769a7bc9716ec022dc6e9287d4ffc (patch)
treee175ee8c3e7f1a7acff75d0305658c33a29cde39 /PICA_node.c
parent49bfb33e31ac316e3e5ab5ee8809bab9101b5dc9 (diff)
downloadpica-pica-d47f7d6c5c7769a7bc9716ec022dc6e9287d4ffc.tar.gz
pica-pica-d47f7d6c5c7769a7bc9716ec022dc6e9287d4ffc.zip
fix mingw-w64 cross-compile issues
Diffstat (limited to 'PICA_node.c')
-rw-r--r--PICA_node.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/PICA_node.c b/PICA_node.c
index 2261e5b..7a62001 100644
--- a/PICA_node.c
+++ b/PICA_node.c
@@ -40,6 +40,11 @@
#endif
#ifdef WIN32
+
+#ifdef __MINGW32__
+#include <stdint.h>
+#endif
+
typedef u_long in_addr_t;
typedef u_short in_port_t;
typedef u_short uint16_t;