Fixes for Hurd build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
bb15969333
commit
0723131628
@ -20,6 +20,10 @@
|
|||||||
#undef ARRAY_SIZE
|
#undef ARRAY_SIZE
|
||||||
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
|
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../include/autoconf.h"
|
#include "../include/autoconf.h"
|
||||||
#include "../include/applet_metadata.h"
|
#include "../include/applet_metadata.h"
|
||||||
|
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
|
#ifndef LOGIN_NAME_MAX
|
||||||
|
#define LOGIN_NAME_MAX 256
|
||||||
|
#endif
|
||||||
|
|
||||||
/* To avoid problems, the username should consist only of
|
/* To avoid problems, the username should consist only of
|
||||||
* letters, digits, underscores, periods, at signs and dashes,
|
* letters, digits, underscores, periods, at signs and dashes,
|
||||||
* and not start with a dash (as defined by IEEE Std 1003.1-2001).
|
* and not start with a dash (as defined by IEEE Std 1003.1-2001).
|
||||||
|
Loading…
Reference in New Issue
Block a user