]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed some warnings
authorErik van der Kouwe <erik@minix3.org>
Mon, 17 Aug 2009 18:48:57 +0000 (18:48 +0000)
committerErik van der Kouwe <erik@minix3.org>
Mon, 17 Aug 2009 18:48:57 +0000 (18:48 +0000)
lib/sysutil/asynsend.c
lib/sysutil/stacktrace.c

index 91d5f7a487a2432bad3ab048a03d224eaff988d4..f7607618dae3ec4f26f4d8990d3e7124ae8bb2e2 100644 (file)
@@ -10,6 +10,7 @@
 #include <minix/type.h>
 
 #include <fcntl.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <minix/syslib.h>
 #include <minix/sysutil.h>
index 377215de71774a8861cd9522f8089c0745639265..6ddb4442e43964799d20d45f75dcbab3fc08244b 100644 (file)
@@ -6,6 +6,9 @@ Created:        Jan 19, 1993 by Philip Homburg
 Copyright 1995 Philip Homburg
 */
 
+#include <stdio.h>
+#include <string.h>
+
 typedef unsigned int reg_t;
 
 #define FUNC_STACKTRACE(statement)                             \