... | ... |
@@ -22,6 +22,8 @@ |
22 | 22 |
#include "clamav-config.h" |
23 | 23 |
#endif |
24 | 24 |
|
25 |
+#if defined(FANOTIFY) |
|
26 |
+ |
|
25 | 27 |
#include <stdio.h> |
26 | 28 |
#include <stdlib.h> |
27 | 29 |
#include <unistd.h> |
... | ... |
@@ -415,3 +417,4 @@ static void onas_ddd_exit(int sig) { |
415 | 415 |
pthread_exit(NULL); |
416 | 416 |
logg("ScanOnAccess: stopped\n"); |
417 | 417 |
} |
418 |
+#endif |
... | ... |
@@ -22,6 +22,7 @@ |
22 | 22 |
#include "clamav-config.h" |
23 | 23 |
#endif |
24 | 24 |
|
25 |
+#if defined(FANOTIFY) |
|
25 | 26 |
#include <stdio.h> |
26 | 27 |
#include <unistd.h> |
27 | 28 |
#include <sys/types.h> |
... | ... |
@@ -640,3 +641,4 @@ int onas_ht_rm_hierarchy(struct onas_ht *ht, const char* pathname, size_t len, i |
640 | 640 |
|
641 | 641 |
return CL_SUCCESS; |
642 | 642 |
} |
643 |
+#endif |