Atomics: Use system headers directly, without bad level dependency to BLI
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 28 Aug 2017 09:06:15 +0000 (11:06 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 28 Aug 2017 09:06:15 +0000 (11:06 +0200)
This will make it easier to re-use library as-is in other projects,
such as Cycles standalone repo for example.

intern/atomic/intern/atomic_ops_utils.h

index fa8f39b4e81b2db7d080d9b740091b9995be1907..c190b655e0ae4128dd4655559b6c87465bea9b7e 100644 (file)
@@ -52,8 +52,8 @@
 #ifndef __ATOMIC_OPS_UTILS_H__
 #define __ATOMIC_OPS_UTILS_H__
 
-/* needed for int types */
-#include "../../../source/blender/blenlib/BLI_sys_types.h"
+#include <stdint.h>
+#include <stddef.h>
 #include <stdlib.h>
 #include <limits.h>