diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | kern/machine.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -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> |