From 5af40de97ce6452e99c737be04eb4d0d5c816c04 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 28 Jan 2012 16:00:56 +1100 Subject: [PATCH 1/2] Update ADL SDK URL. --- ADL_SDK/readme.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ADL_SDK/readme.txt b/ADL_SDK/readme.txt index 196ce465..9411e4b9 100644 --- a/ADL_SDK/readme.txt +++ b/ADL_SDK/readme.txt @@ -1,2 +1,3 @@ Please insert AMD ADL files adl_defines.h adl_sdk.h adl_structures.h here. -(http://developer.amd.com/gpu/adlsdk/Pages/default.aspx) +They can be found here: +http://developer.amd.com/sdks/ADLSDK/Pages/default.aspx From 80650dd91954e05c0b7a3c6432edf30485a0fe4d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 28 Jan 2012 16:13:49 +1100 Subject: [PATCH 2/2] Define O_CLOEXEC for older headers that don't have it. --- bitforce.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitforce.c b/bitforce.c index 790e000b..b041aeae 100644 --- a/bitforce.c +++ b/bitforce.c @@ -17,6 +17,9 @@ #include #include #include +#ifndef O_CLOEXEC +#define O_CLOEXEC 0 +#endif #else #include #include