← Commit list

072313162

Denys Vlasenko
Denys Vlasenko
2020-12-17
SUCCESS Duration: 151s

Subject

Fixes for Hurd build

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/applet_tables.c+4 -0
@@ -20,6 +20,10 @@
#undef ARRAY_SIZE
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
#include "../include/autoconf.h"
#include "../include/applet_metadata.h"
libbb/die_if_bad_username.c+4 -0
@@ -8,6 +8,10 @@
*/
#include "libbb.h"
+#ifndef LOGIN_NAME_MAX
+#define LOGIN_NAME_MAX 256
+#endif
+
/* To avoid problems, the username should consist only of
* letters, digits, underscores, periods, at signs and dashes,
* and not start with a dash (as defined by IEEE Std 1003.1-2001).