Fix OSX build.

This commit is contained in:
Night Owl 2017-06-16 03:43:50 +05:00
parent 007bc5eab8
commit 60121750c9
1 changed files with 3 additions and 0 deletions

View File

@ -735,6 +735,9 @@ char* AgOSVersion()
#ifdef _WIN32
static char verbuf[256];
#else
#ifndef SYS_NMLN
#define SYS_NMLN 256
#endif
static char verbuf[4*SYS_NMLN + 4];
#endif