image.cpp:530:61: error: ‘memcpy’ was not declared in this scope https://bugs.gentoo.org/show_bug.cgi?id=464764 Patch written by Lars Wendler --- a/celestia/src/celengine/image.cpp +++ b/celestia/src/celengine/image.cpp @@ -42,6 +42,7 @@ extern "C" { #include "jpeglib.h" #else #include +#include #include #endif } --- a/celestia/src/celengine/texture.cpp +++ b/celestia/src/celengine/texture.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #ifndef _WIN32 #ifndef TARGET_OS_MAC