Fix build failures if MAXHOSTNAMELEN or MAXPATHLEN is not defined
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -709,6 +709,9 @@ sync_disks(void)
|
||||
static void
|
||||
xbsd_write_bootstrap(void)
|
||||
{
|
||||
#ifndef MAXPATHLEN
|
||||
# define MAXPATHLEN 1024
|
||||
#endif
|
||||
char path[MAXPATHLEN];
|
||||
const char *bootdir = BSD_LINUX_BOOTDIR;
|
||||
const char *dkbasename;
|
||||
|
Reference in New Issue
Block a user