summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weatherstation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/weatherstation.c b/weatherstation.c
index c8b6fcf..d3bbb5f 100644
--- a/weatherstation.c
+++ b/weatherstation.c
@@ -14,6 +14,10 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef __linux__
+#include <linux/limits.h>
+#endif
+#include <sys/types.h>
#include <usb.h>
#include <string.h>
#include <stdio.h>