mcst-linux-kernel/patches-2024.06.26/crack-attack-1.1.10/0001-Fix-compilation-errors...

27 lines
571 B
Diff

Link:
Subject: Fix compilation errors
Bug:
Tags: common
--- a/src/GarbageFlavorImage.cxx 2003-10-16 18:36:05.000000000 +0400
+++ b/src/GarbageFlavorImage.cxx 2020-01-22 17:32:46.018933494 +0300
@@ -26,6 +26,7 @@
*/
#include <iomanip>
+#include <string.h>
#ifndef _WIN32
# include <sstream>
--- a/src/TextureLoader.h 2003-10-16 18:36:05.000000000 +0400
+++ b/src/TextureLoader.h 2020-01-22 18:24:18.582815996 +0300
@@ -2,6 +2,8 @@
#define TEXTURELOADER_H
#include <GL/glut.h>
+#include <stdio.h>
+#include <string.h>
#ifndef _WIN32
# include <sstream>