Fix includes for new libtwin
authorJeremy Kerr <jk@ozlabs.org>
Tue, 3 Apr 2007 05:08:23 +0000 (15:08 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 3 Apr 2007 05:08:23 +0000 (15:08 +1000)
Updates to libtwin mean that we need to do a little more #include-ing
of our own.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices.c
petitboot.c

index 0a0645096c0a30dcd4830ec210c0a82324215ef7..43a388dfbecd832da7098eea799bf285802838b7 100644 (file)
--- a/devices.c
+++ b/devices.c
@@ -1,4 +1,5 @@
 #include <stdlib.h>
+#include <stdio.h>
 #include <string.h>
 #include <errno.h>
 #include <unistd.h>
index 928bbe05e1997abcd66d790a09681c538215ea90..dfb293cbcd1bbf5f3bfd14f34db30450dc82a792 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 #include <stdlib.h>
 #include <signal.h>
 #include <unistd.h>