33 lines
765 B
Diff
33 lines
765 B
Diff
|
From 6ca75e7d421a49b6124d0e1cd37a529c66a701cb Mon Sep 17 00:00:00 2001
|
||
|
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
|
Date: Sat, 18 Jan 2020 20:01:21 +0100
|
||
|
Subject: [PATCH] [Backport] Add missing cstddef includes
|
||
|
|
||
|
Fixes build error with gcc 5.5.0.
|
||
|
|
||
|
Backported from https://github.com/xbmc/screensaver.pingpong/pull/21
|
||
|
|
||
|
Patch sent upstream:
|
||
|
https://github.com/xbmc/screensaver.pingpong/pull/22
|
||
|
|
||
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
|
---
|
||
|
src/pingpong.cpp | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/pingpong.cpp b/src/pingpong.cpp
|
||
|
index e1df353..9cd9fb5 100644
|
||
|
--- a/src/pingpong.cpp
|
||
|
+++ b/src/pingpong.cpp
|
||
|
@@ -24,6 +24,7 @@
|
||
|
#include "main.h"
|
||
|
#include "pingpong.h"
|
||
|
|
||
|
+#include <cstddef>
|
||
|
#include <vector>
|
||
|
|
||
|
#define NUMQUADS 3
|
||
|
--
|
||
|
2.20.1
|
||
|
|