Commit e1cfb678 e1cfb6784fc32fd85947e48689bdef6ccad5b7e5 by Sergey Poznyakoff

Provide definition for MAXHOSTNAMELEN, if necessary.

1 parent be832493
......@@ -600,6 +600,10 @@ check_file_permissions (const char *file)
return 0;
}
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 256
#endif
/* Locker-specific lock/unlock functions */
int
_locker_lock_dotlock (locker_t lock)
......