]> git.meshlink.io Git - meshlink/commitdiff
apple compatibility
authorNiklas Hofmann <niklas.hofmann@everbase.net>
Mon, 27 Oct 2014 05:47:56 +0000 (06:47 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sat, 27 Dec 2014 17:15:09 +0000 (18:15 +0100)
catta
examples/manynodes.c

diff --git a/catta b/catta
index 0dff4eb6b860070626bb4a28ac7d9d5363821fdf..82eb6a9379c6a472b124ee2e03c71602000139e7 160000 (submodule)
--- a/catta
+++ b/catta
@@ -1 +1 @@
-Subproject commit 0dff4eb6b860070626bb4a28ac7d9d5363821fdf
+Subproject commit 82eb6a9379c6a472b124ee2e03c71602000139e7
index 393d586d35fc05128e31339f13bda46558ab6ea2..f0fc22da8443621dc448a96dc1410a0b2b240bd4 100644 (file)
@@ -5,8 +5,10 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__APPLE__)
 #include <linux/limits.h>
+#elif defined(__APPLE__)
+#include <sys/syslimits.h>
 #endif
 
 #include "../src/meshlink.h"