diff options
author | Elliott Hughes <enh@google.com> | 2015-02-19 22:34:01 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-02-19 22:34:01 -0800 |
commit | 72c36ece210a21f2816ac91e9424006e0d11310f (patch) | |
tree | 834082ea4b964b4c74499691709b62ef4b063dba | |
parent | 66896fd9f7716e027cec2060d05eca45e491c401 (diff) | |
download | android_device_generic_goldfish-72c36ece210a21f2816ac91e9424006e0d11310f.tar.gz android_device_generic_goldfish-72c36ece210a21f2816ac91e9424006e0d11310f.tar.bz2 android_device_generic_goldfish-72c36ece210a21f2816ac91e9424006e0d11310f.zip |
Fix implicit function declarations in goldfish.
Change-Id: If737f7a756268fb301efc1bf2888ebf9ed409f58
-rw-r--r-- | qemud/qemud.c | 1 | ||||
-rw-r--r-- | vibrator/vibrator_qemu.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qemud/qemud.c b/qemud/qemud.c index 543ce35..3d18893 100644 --- a/qemud/qemud.c +++ b/qemud/qemud.c @@ -7,6 +7,7 @@ #include <string.h> #include <sys/socket.h> #include <termios.h> +#include <unistd.h> #include <cutils/sockets.h> /* diff --git a/vibrator/vibrator_qemu.c b/vibrator/vibrator_qemu.c index 46c30b4..5e2dc9a 100644 --- a/vibrator/vibrator_qemu.c +++ b/vibrator/vibrator_qemu.c @@ -19,6 +19,7 @@ #include <cutils/log.h> +#define QEMU_HARDWARE #include <qemu.h> #include <hardware/hardware.h> #include <hardware/vibrator.h> |