]> sigrok.org Git - libserialport.git/commitdiff
Remove redundant inclusions of limits.h
authorStefan Tauner <redacted>
Sun, 21 May 2017 21:44:03 +0000 (23:44 +0200)
committerUwe Hermann <redacted>
Wed, 13 Sep 2017 17:27:50 +0000 (19:27 +0200)
The first one would be included for Windows too which seems to be
an error. The second one is obviously redundant.

libserialport_internal.h

index 83f0090bb5f0b7438c2ce013d9bc1a579042fcc5..6ea5e5a2e57ebfa345357ed4acfdf4dd80f3d916 100644 (file)
@@ -37,7 +37,6 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdarg.h>
-#include <limits.h>
 #ifdef _WIN32
 #include <windows.h>
 #include <tchar.h>
@@ -53,7 +52,6 @@
 #include <termios.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
-#include <limits.h>
 #include <poll.h>
 #endif
 #ifdef __APPLE__