summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-06-04 14:13:29 +0200
committerZheng Da <zhengda1936@gmail.com>2010-06-04 14:13:29 +0200
commit754b9e2aa7a675fae18dfc1afa629ac65c48d11c (patch)
treee4ca7e86d249eec7c587f492c66866be7b378ba7
parent74ce2169ff3136ec141c88b07b7f907d7866d49d (diff)
fix compilation errors in the last commit.
-rw-r--r--libmachdev/misc.c3
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)
{