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
This commit is contained in:
Daniel Gibson 2012-10-01 21:31:31 +02:00
parent d1527301b0
commit 20879f6972

View file

@ -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"
/*
===============================================================================