diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-06-04 14:13:29 +0200 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-06-04 14:13:29 +0200 |
commit | 754b9e2aa7a675fae18dfc1afa629ac65c48d11c (patch) | |
tree | e4ca7e86d249eec7c587f492c66866be7b378ba7 | |
parent | 74ce2169ff3136ec141c88b07b7f907d7866d49d (diff) |
fix compilation errors in the last commit.
-rw-r--r-- | libmachdev/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmachdev/misc.c b/libmachdev/misc.c index d5df3663..977159bd 100644 --- a/libmachdev/misc.c +++ b/libmachdev/misc.c @@ -1,11 +1,12 @@ #include <mach.h> +#include <device/device.h> #include <ddekit/printf.h> #include "linux-errno.h" int -linux_to_mach_error (int err); +linux_to_mach_error (int err) { switch (err) { |