From: leslie Date: Sun, 21 Aug 2011 09:24:59 +0000 (+0200) Subject: more fixes for sasc-ng compile X-Git-Tag: upstream/620~44 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=359c300fdbe00bae6dfed7e81f9b3666a03536d4;p=sasc-ng.git more fixes for sasc-ng compile --- diff --git a/cam.c b/cam.c index bce4649..d438e4b 100644 --- a/cam.c +++ b/cam.c @@ -25,7 +25,9 @@ #include #include #include +#ifndef SASC #include +#endif #include "cam.h" #include "global.h" diff --git a/contrib/sasc-ng/sc/device.cpp b/contrib/sasc-ng/sc/device.cpp index f63046e..fa5159d 100644 --- a/contrib/sasc-ng/sc/device.cpp +++ b/contrib/sasc-ng/sc/device.cpp @@ -259,6 +259,11 @@ int cDevice::OpenFilter(u_short Pid, u_char Tid, u_char Mask) return -1; } +void cDevice::CloseFilter(int Handle) +{ + close(Handle); +} + void cDevice::AttachFilter(cFilter *Filter) { }