Merge pull request #4128 from ffainelli/dansguardian-fix
dansguardian: Fix build error due to missing cstdlib include
This commit is contained in:
commit
0c432f8902
1 changed files with 12 additions and 0 deletions
12
net/dansguardian/patches/002-cstdlib.patch
Normal file
12
net/dansguardian/patches/002-cstdlib.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Index: dansguardian-2.12.0.3/src/OptionContainer.cpp
|
||||||
|
===================================================================
|
||||||
|
--- dansguardian-2.12.0.3.orig/src/OptionContainer.cpp
|
||||||
|
+++ dansguardian-2.12.0.3/src/OptionContainer.cpp
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
#include <sstream>
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
+#include <cstdlib>
|
||||||
|
|
||||||
|
#include <unistd.h> // checkme: remove?
|
||||||
|
|
Loading…
Reference in a new issue