From 20879f697291eeae07f3d5b4d96b567f1bff61d4 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Mon, 1 Oct 2012 21:31:31 +0200 Subject: [PATCH] List.h needs sys/platform.h for ID_INLINE Everytime List.h is included in a new file (and sys/platform.h isn't) there are confusing compiler-errors.. So just #include sys/platform.h in List.h directly, because it uses ID_INLINE which is defined there --- idlib/containers/List.h | 1 + 1 file changed, 1 insertion(+) diff --git a/idlib/containers/List.h b/idlib/containers/List.h index ddb214f..7a328f0 100644 --- a/idlib/containers/List.h +++ b/idlib/containers/List.h @@ -29,6 +29,7 @@ If you have questions concerning this license or the applicable additional terms #ifndef __LIST_H__ #define __LIST_H__ +#include "sys/platform.h" /* ===============================================================================