0001-Backport-Add-missing-cstddef-include.patch 803 B

123456789101112131415161718192021222324252627282930
  1. From b2c54c1043c2396678005b578e85db30bdf5ccb9 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sat, 18 Jan 2020 20:22:41 +0100
  4. Subject: [PATCH] [Backport] Add missing cstddef include
  5. Backported from https://github.com/xbmc/visualization.spectrum/pull/37
  6. Patch sent upstream:
  7. https://github.com/xbmc/visualization.spectrum/pull/38
  8. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  9. ---
  10. src/opengl_spectrum.cpp | 1 +
  11. 1 file changed, 1 insertion(+)
  12. diff --git a/src/opengl_spectrum.cpp b/src/opengl_spectrum.cpp
  13. index 05409ea..2441fd6 100644
  14. --- a/src/opengl_spectrum.cpp
  15. +++ b/src/opengl_spectrum.cpp
  16. @@ -38,6 +38,7 @@
  17. #include <string.h>
  18. #include <math.h>
  19. #include <stdint.h>
  20. +#include <cstddef>
  21. #include <glm/glm.hpp>
  22. #include <glm/gtc/type_ptr.hpp>
  23. --
  24. 2.20.1