Browse files

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
  • Loading branch information...
DanielGibson committed Oct 1, 2012
1 parent a7bfd05 commit f317b056c6a82b4bab5360f3f0a950ade1c7995f
Showing with 1 addition and 0 deletions.
  1. +1 −0 neo/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"

0 comments on commit f317b05

Please sign in to comment.