kumquat-buildroot/package/kodi-screensaver-pyro/0001-Add-missing-stddef-include.patch

26 lines
719 B
Diff
Raw Normal View History

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