From 60121750c909612b1712e6cea570961180193987 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Fri, 16 Jun 2017 03:43:50 +0500 Subject: [PATCH] Fix OSX build. --- dlls/aghl/agglobal.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/aghl/agglobal.cpp b/dlls/aghl/agglobal.cpp index 3c77cef2..97a5675a 100644 --- a/dlls/aghl/agglobal.cpp +++ b/dlls/aghl/agglobal.cpp @@ -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