diff options
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/socket.stp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 5cd5a6d5..48b6b86e 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,5 +1,9 @@ 2007-09-25 Frank Ch. Eigler <fche@elastic.org> + * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed. + +2007-09-25 Frank Ch. Eigler <fche@elastic.org> + * socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility. 2007-09-25 Frank Ch. Eigler <fche@elastic.org> diff --git a/tapset/socket.stp b/tapset/socket.stp index 563b866b..fc532b1d 100644 --- a/tapset/socket.stp +++ b/tapset/socket.stp @@ -626,6 +626,9 @@ function sock_type_str2num:long (type:string) function sock_flags_num2str:string (flags:long) %{ /* pure */ +#ifndef SOCK_PASSCRED +#define SOCK_PASSCRED 3 /* introduced in 2.6.12? */ +#endif #ifndef SOCK_PASSSEC #define SOCK_PASSSEC 4 /* introduced in 2.6.18 */ #endif |