Promote libz and libmagic to required dependencies.

This commit is contained in:
Jon Siwek 2011-11-11 12:39:00 -06:00
parent 151664bc26
commit d750c3ba74
20 changed files with 26 additions and 114 deletions

View file

@ -5,9 +5,7 @@
#include "TCP.h"
#ifdef HAVE_LIBMAGIC
#include <magic.h>
#endif
class File_Analyzer : public TCP_ApplicationAnalyzer {
public:
@ -31,12 +29,10 @@ protected:
char buffer[BUFFER_SIZE];
int buffer_len;
#ifdef HAVE_LIBMAGIC
static void InitMagic(magic_t* magic, int flags);
static magic_t magic;
static magic_t magic_mime;
#endif
};
#endif