summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
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 @@
46#ifdef CONFIG_LOCALE_SUPPORT 46#ifdef CONFIG_LOCALE_SUPPORT
47#include <locale.h> 47#include <locale.h>
48#else 48#else
49#define setlocale(x,y) 49#define setlocale(x,y) ((void)0)
50#endif 50#endif
51 51
52#include "pwd_.h" 52#include "pwd_.h"
53#include "grp_.h" 53#include "grp_.h"
54/* ifdef it out, because it may include <shadow.h> */
55/* and we may not even _have_ <shadow.h>! */
54#if ENABLE_FEATURE_SHADOWPASSWDS 56#if ENABLE_FEATURE_SHADOWPASSWDS
55#include "shadow_.h" 57#include "shadow_.h"
56#endif 58#endif
@@ -59,7 +61,7 @@
59#include <limits.h> 61#include <limits.h>
60#include <sys/param.h> 62#include <sys/param.h>
61#ifndef PATH_MAX 63#ifndef PATH_MAX
62#define PATH_MAX 256 64#define PATH_MAX 256
63#endif 65#endif
64 66
65/* Tested to work correctly (IIRC :]) */ 67/* Tested to work correctly (IIRC :]) */