diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-03 04:04:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-03 04:04:58 +0100 |
commit | c6872c361190d4f1a559d23458f6cdffb154b0b0 (patch) | |
tree | 98d2caa2e0d46d9968c7cc155946e785f96e6db3 /games-engines/odamex/files | |
parent | a55e5c074db9bb024358a8f0bd2c5e992b7cf6f6 (diff) |
gentoo auto-resync : 03:07:2023 - 04:04:58
Diffstat (limited to 'games-engines/odamex/files')
-rw-r--r-- | games-engines/odamex/files/odamex-10.3.0-master-fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-engines/odamex/files/odamex-10.3.0-master-fix.patch b/games-engines/odamex/files/odamex-10.3.0-master-fix.patch new file mode 100644 index 000000000000..1a20d8f6523c --- /dev/null +++ b/games-engines/odamex/files/odamex-10.3.0-master-fix.patch @@ -0,0 +1,31 @@ +From 10beb4212625ee5e6d5b8a55e94d22d70d630217 Mon Sep 17 00:00:00 2001 +From: Jan200101 <sentrycraft123@gmail.com> +Date: Wed, 19 Apr 2023 14:33:33 +0200 +Subject: [PATCH] include time.h on all platforms + +--- + master/main.cpp | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/master/main.cpp b/master/main.cpp +index a69af8dd0..3226792a7 100644 +--- a/master/main.cpp ++++ b/master/main.cpp +@@ -38,16 +38,15 @@ + #include <string.h> + + #include <stdint.h> ++#include <time.h> + + #ifdef UNIX + #include <netinet/in.h> + #include <unistd.h> +-#include <sys/time.h> + #endif + + #ifdef _WIN32 + #include <winsock.h> +-#include <time.h> + #define usleep(n) Sleep(n/1000) + #endif + |