summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--kern/machine.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b4eee3..4a0da30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ [task #5726 --- ``GCC built-in functions'']
+ * kern/machine.c: Include `string.h'.
+
Fix ``assignment used as truth value'' warnings.
* device/cons.c (cninit): Add parenthesis.
* kern/bootstrap.c (copy_bootstrap): Likewise.
diff --git a/kern/machine.c b/kern/machine.c
index c0efbf7..871801e 100644
--- a/kern/machine.c
+++ b/kern/machine.c
@@ -34,6 +34,7 @@
* Support for machine independent machine abstraction.
*/
+#include <string.h>
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/mach_types.h>