Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-20 23:20:32 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-20 23:20:32 +0300
commit8b7f6928c69a53fbcc56c7b0b9db14e79ba976da (patch)
tree908ae075ca46840f7ef6a44aefa008c8b342fa55 /include/libbb.h
parenta2af67a8c5a1842f37d23508609c8b94d271c35e (diff)
releasing busybox 1.3.21_3_2
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 65430d254..1f9be8f61 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -46,11 +46,13 @@
#ifdef CONFIG_LOCALE_SUPPORT
#include <locale.h>
#else
-#define setlocale(x,y)
+#define setlocale(x,y) ((void)0)
#endif
#include "pwd_.h"
#include "grp_.h"
+/* ifdef it out, because it may include <shadow.h> */
+/* and we may not even _have_ <shadow.h>! */
#if ENABLE_FEATURE_SHADOWPASSWDS
#include "shadow_.h"
#endif
@@ -59,7 +61,7 @@
#include <limits.h>
#include <sys/param.h>
#ifndef PATH_MAX
-#define PATH_MAX 256
+#define PATH_MAX 256
#endif
/* Tested to work correctly (IIRC :]) */