]> sigrok.org Git - libserialport.git/commitdiff
Include <stdio.h> on Windows for sprintf, used in sp_open.
authorMartin Ling <redacted>
Mon, 4 Nov 2013 14:08:03 +0000 (14:08 +0000)
committerUwe Hermann <redacted>
Thu, 14 Nov 2013 23:42:40 +0000 (00:42 +0100)
serialport.c

index 39ae659ad47533907fa71ce3a274e863c933fad6..7255ee67295f54c1f6f7dcac5ae1e71ff66ebbe3 100644 (file)
@@ -29,6 +29,7 @@
 #ifdef _WIN32
 #include <windows.h>
 #include <tchar.h>
+#include <stdio.h>
 #else
 #include <termios.h>
 #include <sys/ioctl.h>