Define utsname field lengths in BeOS if not defined previously.

This commit is contained in:
2021-04-28 09:19:39 +01:00
parent 1f62ce9c4d
commit b7853df58f

View File

@@ -33,6 +33,10 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "../include/defs.h"
#include "../log.h"
#if !defined(_SYS_NAMELEN)
#define _SYS_NAMELEN 32
#endif
void GetOsInfo()
{
struct utsname buf;