diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 82484f911..d05ac2976 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <netdb.h> | 20 | #include <netdb.h> |
21 | #include <setjmp.h> | 21 | #include <setjmp.h> |
22 | #include <signal.h> | 22 | #include <signal.h> |
23 | #include <paths.h> | ||
23 | #if defined __UCLIBC__ /* TODO: and glibc? */ | 24 | #if defined __UCLIBC__ /* TODO: and glibc? */ |
24 | /* use inlined versions of these: */ | 25 | /* use inlined versions of these: */ |
25 | # define sigfillset(s) __sigfillset(s) | 26 | # define sigfillset(s) __sigfillset(s) |
@@ -106,7 +107,11 @@ | |||
106 | # define updwtmpx updwtmp | 107 | # define updwtmpx updwtmp |
107 | # define _PATH_UTMPX _PATH_UTMP | 108 | # define _PATH_UTMPX _PATH_UTMP |
108 | # else | 109 | # else |
110 | # include <utmp.h> | ||
109 | # include <utmpx.h> | 111 | # include <utmpx.h> |
112 | # if defined _PATH_UTMP && !defined _PATH_UTMPX | ||
113 | # define _PATH_UTMPX _PATH_UTMP | ||
114 | # endif | ||
110 | # endif | 115 | # endif |
111 | #endif | 116 | #endif |
112 | #if ENABLE_LOCALE_SUPPORT | 117 | #if ENABLE_LOCALE_SUPPORT |