diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-08-26 16:07:40 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-08-26 16:09:27 -0700 |
commit | c688b154b4e32cf03e56384fe2df2343a46c5f15 (patch) | |
tree | af672cf7052965987638fb41b7b1de23eb7e18f8 /libs/libdcwsocket/patches | |
parent | 0294be7c985fac98cbf1cd033a65dcf9ca8ee22f (diff) |
libdcwsocket: fix compilation with glibc
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libdcwsocket/patches')
-rw-r--r-- | libs/libdcwsocket/patches/010-glibc.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/libdcwsocket/patches/010-glibc.patch b/libs/libdcwsocket/patches/010-glibc.patch new file mode 100644 index 000000000..24cb24b78 --- /dev/null +++ b/libs/libdcwsocket/patches/010-glibc.patch @@ -0,0 +1,12 @@ +--- a/src/dcwsocket.c.linux ++++ b/src/dcwsocket.c.linux +@@ -36,6 +36,9 @@ + #include <linux/filter.h> + #include <arpa/inet.h> + ++#ifndef SO_ATTACH_FILTER ++#define SO_ATTACH_FILTER 26 ++#endif + + #define ETHER_HEADERSIZE 14 + #define CL3_HEADERSIZE 4 |