aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/core
diff options
context:
space:
mode:
authorXavi Zhang <[email protected]>2015-05-07 02:26:29 -0400
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit79dcda5116c8911782c646d923e14d7a9107e8c5 (patch)
tree6bdc82b899efc3adf4cf3b2f1741f3398a43bab3 /src/amd/addrlib/core
parent7293a020bd07ab70e08e4e52bfeaf0951c275e2d (diff)
amdgpu/addrlib: add define HAVE_TSERVER
Diffstat (limited to 'src/amd/addrlib/core')
-rw-r--r--src/amd/addrlib/core/addrcommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/addrlib/core/addrcommon.h b/src/amd/addrlib/core/addrcommon.h
index 0dff0b8cc47..35320e60c18 100644
--- a/src/amd/addrlib/core/addrcommon.h
+++ b/src/amd/addrlib/core/addrcommon.h
@@ -41,7 +41,7 @@
// Moved from addrinterface.h so __KERNEL__ is not needed any more
#if ADDR_LNX_KERNEL_BUILD // || (defined(__GNUC__) && defined(__KERNEL__))
#include "lnx_common_defs.h" // ported from cmmqs
-#elif !defined(__APPLE__)
+#elif !defined(__APPLE__) || defined(HAVE_TSERVER)
#include <stdlib.h>
#include <string.h>
#endif