From 359c300fdbe00bae6dfed7e81f9b3666a03536d4 Mon Sep 17 00:00:00 2001 From: leslie Date: Sun, 21 Aug 2011 11:24:59 +0200 Subject: [PATCH] more fixes for sasc-ng compile --- cam.c | 2 ++ contrib/sasc-ng/sc/device.cpp | 5 +++++ 2 files changed, 7 insertions(+) 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) { } -- 2.39.5