59675fea51
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already. OBS-URL: https://build.opensuse.org/request/show/109835 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=60
13 lines
528 B
Diff
13 lines
528 B
Diff
Index: clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
|
===================================================================
|
|
--- clamav-0.97.3.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
|
+++ clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
|
@@ -15,6 +15,7 @@
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
+#include <unistd.h>
|
|
#include "JIT.h"
|
|
#include "llvm/Support/ErrorHandling.h"
|
|
#include "llvm/System/DynamicLibrary.h"
|