Browse Source

Merge pull request #4128 from ffainelli/dansguardian-fix

dansguardian: Fix build error due to missing cstdlib include
lilik-openwrt-22.03
Florian Fainelli 8 years ago
committed by GitHub
parent
commit
0c432f8902
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      net/dansguardian/patches/002-cstdlib.patch

+ 12
- 0
net/dansguardian/patches/002-cstdlib.patch View 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…
Cancel
Save