From: Felix Fietkau Date: Thu, 16 Feb 2012 18:08:27 +0000 (+0000) Subject: miredo: fix a compile error X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=355dcbe2ca2d24b47ddb6e5c7ab1a7258ea65725;p=openwrt%2Fsvn-archive%2Farchive.git miredo: fix a compile error SVN-Revision: 30598 --- diff --git a/ipv6/miredo/patches/110-fix_compile_error.patch b/ipv6/miredo/patches/110-fix_compile_error.patch new file mode 100644 index 0000000000..a49b3f25cb --- /dev/null +++ b/ipv6/miredo/patches/110-fix_compile_error.patch @@ -0,0 +1,12 @@ +--- a/src/main.c ++++ b/src/main.c +@@ -300,7 +300,9 @@ + if (val) + { + error_errno ("cap_set_proc"); ++#ifdef MIREDO_DEFAULT_USERNAME + setuid_notice (); ++#endif + return -1; + } + #endif