Parent Directory
|
Revision Log
fix compilation on gcc-4.7 wrt bug #423965 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
| 1 | From: Julian Ospald <hasufell@gentoo.org> |
| 2 | Date: Fri Jun 29 08:15:12 UTC 2012 |
| 3 | Subject: fix compilation on gcc 4.7 |
| 4 | |
| 5 | https://bugs.gentoo.org/show_bug.cgi?id=423965 |
| 6 | |
| 7 | --- src/nvcore/nvcore.h |
| 8 | +++ src/nvcore/nvcore.h |
| 9 | @@ -158,6 +158,7 @@ |
| 10 | #elif NV_CC_GNUC |
| 11 | # if NV_OS_LINUX |
| 12 | # include "DefsGnucLinux.h" |
| 13 | +# include <unistd.h> // gcc 4.7 |
| 14 | # elif NV_OS_DARWIN |
| 15 | # include "DefsGnucDarwin.h" |
| 16 | # elif NV_OS_MINGW |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |