mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
boblightd: add patch to build with gcc-4.7
this fixes the following build error: clients/flagmanager.cpp:88:3: error: 'opterr' was not declared in this scope clients/flagmanager.cpp:90:49: error: 'getopt' was not declared in this scope ..
This commit is contained in:
parent
27a462853c
commit
aac212f307
@ -0,0 +1,13 @@
|
||||
diff --git a/src/clients/flagmanager.cpp b/src/clients/flagmanager.cpp
|
||||
index d9f3cbf..82eb978 100644
|
||||
--- a/src/clients/flagmanager.cpp
|
||||
+++ b/src/clients/flagmanager.cpp
|
||||
@@ -25,6 +25,8 @@
|
||||
#define BOBLIGHT_DLOPEN_EXTERN
|
||||
#include "../lib/boblight.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
using namespace std;
|
||||
|
||||
//very simple, store a copy of argc and argv
|
Loading…
x
Reference in New Issue
Block a user