diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 09:36:59 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 09:40:29 -0500 |
commit | 4959d9c251ce603b8e32e7532559ad2a7867b6ab (patch) | |
tree | 28b21dbe61b1676f3c9b73514f934a77717776d6 /include/relocation.h | |
parent | 4527a13debf7ca4c6c193bf2e82351bf3e9e3ea8 (diff) | |
download | stasis-4959d9c251ce603b8e32e7532559ad2a7867b6ab.tar.gz |
Compatibility changes
Diffstat (limited to 'include/relocation.h')
-rw-r--r-- | include/relocation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/relocation.h b/include/relocation.h index 2ccf762..ea9da9f 100644 --- a/include/relocation.h +++ b/include/relocation.h @@ -4,10 +4,16 @@ #ifndef OMC_RELOCATION_H #define OMC_RELOCATION_H +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> +#if defined(OMC_OS_DARWIN) +#include <limits.h> +# else #include <linux/limits.h> +#endif #include <unistd.h> void replace_text(char *original, const char *target, const char *replacement); |