• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/kodi-pvr-stalker/0001-src-CWatchdog.h-Fix-gcc7-build.patch
Bernd KuhlsBernd Kuhls committed 7cd9a3e580213 May 2017
Raw file
Source viewDiff to previous
 
1
From bb16ccd14deb3a01049daec37b6d2e7711ef4738 Mon Sep 17 00:00:00 2001
2
From: Bernd Kuhls <bernd.kuhls@t-online.de>
3
Date: Sat, 13 May 2017 20:22:08 +0200
4
Subject: [PATCH] src/CWatchdog.h: Fix gcc7 build
5
​
6
Building with gcc7 is broken:
7
​
8
src/CWatchdog.h:31:58: error: 'std::function' has not been declared
9
    CWatchdog(unsigned int interval, SAPI *api, std::function<void(SError)> errorCallback);
10
                                                     ^~~~~~~~
11
​
12
Submitted-upstream: https://github.com/kodi-pvr/pvr.stalker/pull/93
13
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
14
---
15
 src/CWatchdog.h | 1 +
16
 1 file changed, 1 insertion(+)
17
​
18
diff --git a/src/CWatchdog.h b/src/CWatchdog.h
19
index c465e91..239d95d 100644
20
--- a/src/CWatchdog.h
21
+++ b/src/CWatchdog.h
22
@@ -22,6 +22,7 @@
23
  */
24
 
25
 #include <thread>
26
+#include <functional>
27
 
28
 #include "SAPI.h"
29
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.