aboutsummaryrefslogtreecommitdiff
path: root/include/relocation.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-13 09:36:59 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-13 09:40:29 -0500
commit4959d9c251ce603b8e32e7532559ad2a7867b6ab (patch)
tree28b21dbe61b1676f3c9b73514f934a77717776d6 /include/relocation.h
parent4527a13debf7ca4c6c193bf2e82351bf3e9e3ea8 (diff)
downloadstasis-4959d9c251ce603b8e32e7532559ad2a7867b6ab.tar.gz
Compatibility changes
Diffstat (limited to 'include/relocation.h')
-rw-r--r--include/relocation.h6
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);