kumquat-buildroot/package/kodi-screensaver-pyro/0001-Add-missing-stddef-include.patch
Bernd Kuhls f03ea1d7d4 package/kodi-screensaver-*: mass version bump
Most screensaver repos were moved to the xbmc project:
57b8ed5fb9
29c23f8e0c
98e7131502
994b0d5b73
21b0c96d7f

Add patches to fix missing cstddef include.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2020-01-23 01:04:02 +01:00

26 lines
719 B
Diff

From e1dbe7822b35b889fdc5ea54114ad3f9669d440e Mon Sep 17 00:00:00 2001
From: Rechi <Rechi@users.noreply.github.com>
Date: Sun, 24 Mar 2019 10:55:44 +0100
Subject: [PATCH] [fix] add missing stddef.h include for offsetof macro
Downloaded from upstream commit in master branch:
https://github.com/xbmc/screensaver.pyro/commit/e1dbe7822b35b889fdc5ea54114ad3f9669d440e
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
src/Pyro.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Pyro.cpp b/src/Pyro.cpp
index 3f873a2..6dfa764 100644
--- a/src/Pyro.cpp
+++ b/src/Pyro.cpp
@@ -34,6 +34,7 @@
#include "Pyro.h"
#include <stdio.h>
#include <math.h>
+#include <stddef.h>
#include <stdlib.h>
#ifdef WIN32