Sun, 15 Dec 2024 15:22:45 +0100
add sys/types.h to the common includes to fix a problem with ssize_t
src/cx/buffer.h | file | annotate | diff | comparison | revisions | |
src/cx/common.h | file | annotate | diff | comparison | revisions |
--- a/src/cx/buffer.h Sun Dec 15 14:32:51 2024 +0100 +++ b/src/cx/buffer.h Sun Dec 15 15:22:45 2024 +0100 @@ -49,8 +49,6 @@ #include "common.h" #include "allocator.h" -#include <sys/types.h> - #ifdef __cplusplus extern "C" { #endif
--- a/src/cx/common.h Sun Dec 15 14:32:51 2024 +0100 +++ b/src/cx/common.h Sun Dec 15 15:22:45 2024 +0100 @@ -96,6 +96,7 @@ #include <stddef.h> #include <stdbool.h> #include <stdint.h> +#include <sys/types.h> // --------------------------------------------------------------------------- // Attribute definitions