]> sigrok.org Git - libserialport.git/blobdiff - libserialport_internal.h
sp_wait: Avoid overflow of timeout parameter to poll().
[libserialport.git] / libserialport_internal.h
index a5fc7bc54bcebdcc639a9dbdf8470461eb612143..a0d872bb8ed8bd8f9f2b854470965a694a107089 100644 (file)
@@ -35,6 +35,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include <limits.h>
 #ifdef _WIN32
 #include <windows.h>
 #include <tchar.h>