blob: aaba26227411ca0ccdab62f76a5bd99f44560427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jun 29 08:15:12 UTC 2012
Subject: fix compilation on gcc 4.7
https://bugs.gentoo.org/show_bug.cgi?id=423965
--- a/src/nvcore/nvcore.h
+++ b/src/nvcore/nvcore.h
@@ -158,6 +158,7 @@
#elif NV_CC_GNUC
# if NV_OS_LINUX
# include "DefsGnucLinux.h"
+# include <unistd.h> // gcc 4.7
# elif NV_OS_DARWIN
# include "DefsGnucDarwin.h"
# elif NV_OS_MINGW
|