diff options
Diffstat (limited to 'tapset/socket.stp')
-rw-r--r-- | tapset/socket.stp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tapset/socket.stp b/tapset/socket.stp index 49eca217..451dd36e 100644 --- a/tapset/socket.stp +++ b/tapset/socket.stp @@ -509,6 +509,9 @@ function sock_type_str2num:long (type:string) function sock_flags_num2str:string (flags:long) %{ +#ifndef SOCK_PASSSEC +#define SOCK_PASSSEC 4 /* introduced in 2.6.18 */ +#endif char str[60]; str[0] = '\0'; @@ -1078,4 +1081,4 @@ deref_fault: CONTEXT->last_error = "pointer dereference fault"; } end: ; -%}
\ No newline at end of file +%} |