diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-05-14 12:08:09 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-05-14 12:08:09 +0000 |
commit | c3858881071b2d3d91abd6c2612a6b43105c5d12 (patch) | |
tree | c8982fcd15fb8864dd97c826bf65c462587866e0 /games/openbor/files/patch-source_utils.h | |
parent | ed86ac2de4c4e39f03b00b82fde13a8b283382d1 (diff) | |
download | ports-c3858881071b2d3d91abd6c2612a6b43105c5d12.tar.gz ports-c3858881071b2d3d91abd6c2612a6b43105c5d12.zip |
Notes
Diffstat (limited to 'games/openbor/files/patch-source_utils.h')
-rw-r--r-- | games/openbor/files/patch-source_utils.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/openbor/files/patch-source_utils.h b/games/openbor/files/patch-source_utils.h new file mode 100644 index 000000000000..8482fb199859 --- /dev/null +++ b/games/openbor/files/patch-source_utils.h @@ -0,0 +1,19 @@ +In file included from openborscript.c:30: +In file included from source/openborscript/config.h:12: +In file included from source/scriptlib/Interpreter.h:11: +In file included from source/scriptlib/depends.h:13: +In file included from source/globals.h:24: +source/utils.h:65:59: error: unknown type name 'time_t' +void get_time_string(char buffer[], unsigned buffer_size, time_t timestamp, char* pattern); // ex. "%Y-%m-%d %H:%M:%S" + ^ + +--- source/utils.h.orig 2018-05-13 22:01:54 UTC ++++ source/utils.h +@@ -10,6 +10,7 @@ + #define UTILS_H + + // *** INCLUDES *** ++#include <time.h> + #include "types.h" + #include "stringptr.h" + |