From aef736c8d2f96fa012f17f27ed57330cc3f4524f Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 25 Sep 2007 19:30:58 +0000 Subject: socket.stp build fix for 2.6.9 kernel 2007-09-25 Frank Ch. Eigler * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed. --- tapset/socket.stp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tapset/socket.stp') 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 -- cgit