aboutsummaryrefslogtreecommitdiffstats
path: root/core/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-05-01 18:05:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-05-01 18:05:23 -0700
commitf8e82f9f4dab637783b5dbcec61956bba1c57faf (patch)
tree09255dc60db95351c82ccb740734defd89cbf19a /core/include
parent7a97bd6adda1d2bc270a33d8ec774e4c5eb88056 (diff)
downloadsyslinux-f8e82f9f4dab637783b5dbcec61956bba1c57faf.tar.gz
syslinux-f8e82f9f4dab637783b5dbcec61956bba1c57faf.tar.xz
syslinux-f8e82f9f4dab637783b5dbcec61956bba1c57faf.zip
thread: fix warnings
Fix set-but-not-used variable warnings and undefined references. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include')
-rw-r--r--core/include/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/include/thread.h b/core/include/thread.h
index 5852df21..73e88242 100644
--- a/core/include/thread.h
+++ b/core/include/thread.h
@@ -6,6 +6,7 @@
#include <limits.h>
#include <stdbool.h>
#include <timer.h>
+#include <sys/cpu.h>
/* The idle thread runs at this priority */
#define IDLE_THREAD_PRIORITY INT_MAX