diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-04-08 15:24:20 -0700 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2011-04-09 18:27:07 -0700 |
commit | e23d01c50f80fa14cefa0e62fb8741a28eaa9776 (patch) | |
tree | 0713990bafdaf4e8239294aeaf83be558ad961f8 /core/include | |
parent | 71b54fdaeb8b82293f1a19df401b3645d8096144 (diff) | |
download | syslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.tar.gz syslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.tar.xz syslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.zip |
core thread: Don't include core.h from thread.h
core.h brings in a lot of symbols and causes conflicts when
included into lwip, in particular conflicts on the symbol
lfree.
So do the simple thing and simplify what thread.h brings in to
reduce the change of symbol conflicts.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/include/thread.h b/core/include/thread.h index db4ef5e2..cdc3a901 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -3,7 +3,8 @@ #include <stddef.h> #include <inttypes.h> -#include "core.h" +#include <stdbool.h> +#include <timer.h> struct semaphore; |