summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-01-10 14:09:19 (GMT)
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-05-30 04:54:33 (GMT)
commit15b38a90ed4761653c012b065684d135e331f75d (patch)
tree07f037a7934a9249202af529e129f6513cfb5694
parent68f54287e108cdf97dba91cce41de0f4a9606eb6 (diff)
downloadbionic-master.tar.gz
bionic-master.tar.xz
un.h: Include socket.h since it is neededHEADandroid-4.0.4_r2.1pulseaudiomaster
struct sockaddr_un needs sa_family_t to be defined, and this is introduced by socket.h. Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
-rw-r--r--libc/kernel/common/linux/un.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/un.h b/libc/kernel/common/linux/un.h
index 5b51b7c..031e248 100644
--- a/libc/kernel/common/linux/un.h
+++ b/libc/kernel/common/linux/un.h
@@ -12,6 +12,8 @@
#ifndef _LINUX_UN_H
#define _LINUX_UN_H
+#include <linux/socket.h>
+
#define UNIX_PATH_MAX 108
struct sockaddr_un {