diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2009-12-17 15:04:26 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2009-12-17 15:04:26 +0100 |
commit | b7e9814253f4b8f61e68d9aa7f518c1404cf417f (patch) | |
tree | d30408cd8f13b8d3c57437e41b514573ca1a4eae /recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch | |
parent | e3df24d64a48aff19aa9960dd9308a071b243b09 (diff) | |
parent | 727b276ed3d414662f19ec66e80f7b3dc029bca5 (diff) | |
download | openembedded-b7e9814253f4b8f61e68d9aa7f518c1404cf417f.tar.gz |
Merge commit 'origin/org.openembedded.dev' into shr/merge
Diffstat (limited to 'recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch')
-rw-r--r-- | recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch new file mode 100644 index 0000000000..3c8137f2de --- /dev/null +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.32/export_sa_family_t.patch @@ -0,0 +1,22 @@ +diff --git a/include/linux/socket.h b/include/linux/socket.h +index 7b3aae2..ade87cf 100644 +--- a/include/linux/socket.h ++++ b/include/linux/socket.h +@@ -16,6 +16,8 @@ struct __kernel_sockaddr_storage { + /* _SS_MAXSIZE value minus size of ss_family */ + } __attribute__ ((aligned(_K_SS_ALIGNSIZE))); /* force desired alignment */ + ++typedef unsigned short sa_family_t; ++ + #ifdef __KERNEL__ + + #include <asm/socket.h> /* arch-dependent defines */ +@@ -34,8 +36,6 @@ extern void socket_seq_show(struct seq_file *seq); + # endif + #endif /* __KERNEL__ */ + +-typedef unsigned short sa_family_t; +- + /* + * 1003.1g requires sa_family_t and that sa_data is char. + */ |