From 041b04796fb5049312d8477eb3f7774e1352f0e5 Mon Sep 17 00:00:00 2001 From: Glenn <gwaldron@gmail.com> Date: Sat, 10 Feb 2024 11:03:24 -0500 Subject: [PATCH] gcc compiler error #5 --- src/osgEarth/Threading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgEarth/Threading.cpp b/src/osgEarth/Threading.cpp index 2bbb20c8f3..8fe01189fe 100644 --- a/src/osgEarth/Threading.cpp +++ b/src/osgEarth/Threading.cpp @@ -19,6 +19,7 @@ #include "Threading" #include <cstdlib> #include <climits> +#include <cstring> #ifdef _WIN32 # include <Windows.h> @@ -26,7 +27,6 @@ # include <unistd.h> # include <sys/syscall.h> # include <pthread.h> -# include <cstring> #endif // define the threading library singleton