buildroot/package/kodi-screensaver-biogenesis/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
697 B
Diff

From 86da3bfecf8ddd2f8c2c3eed6e1cb8850883f4b2 Mon Sep 17 00:00:00 2001
From: Rechi <Rechi@users.noreply.github.com>
Date: Sun, 24 Mar 2019 10:53:31 +0100
Subject: [PATCH] [fix] add missing stddef.h include for offsetof macro
Downloaded from upstream commit:
https://github.com/xbmc/screensaver.biogenesis/commit/86da3bfecf8ddd2f8c2c3eed6e1cb8850883f4b2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
src/Life.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Life.cpp b/src/Life.cpp
index 762ad7d..68be133 100644
--- a/src/Life.cpp
+++ b/src/Life.cpp
@@ -24,6 +24,7 @@
#include "types.h"
#include <memory.h>
+#include <stddef.h>
#ifdef WIN32
#include <d3d11.h>
#else