X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/645a901ce05d7410ef2f96a2e3988b207a53a42e..a456d44645230228885d6c5265a6078f2d63cc13:/package/iproute2/patches/004-darwin_fixes.patch diff --git a/package/iproute2/patches/004-darwin_fixes.patch b/package/iproute2/patches/004-darwin_fixes.patch index 3719c7eba..da7c3ec6d 100644 --- a/package/iproute2/patches/004-darwin_fixes.patch +++ b/package/iproute2/patches/004-darwin_fixes.patch @@ -6,7 +6,7 @@ Index: iproute-2.6.20-070313/netem/maketable.c #include #include #include -+#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) #include +#endif #include @@ -20,7 +20,7 @@ Index: iproute-2.6.20-070313/netem/normal.c #include #include -+#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) #include #include +#else @@ -37,7 +37,7 @@ Index: iproute-2.6.20-070313/netem/pareto.c #include #include -+#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) #include #include +#else @@ -54,7 +54,7 @@ Index: iproute-2.6.20-070313/netem/paretonormal.c #include #include #include -+#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) #include - #include