From da9a6a75acac8c8597d807757bbd9e60f39c31de Mon Sep 17 00:00:00 2001
From: 3gg <3gg@shellblade.net>
Date: Sun, 22 Sep 2024 16:53:18 -0700
Subject: FreeBSD port.

---
 cstring/include/cstring.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'cstring')

diff --git a/cstring/include/cstring.h b/cstring/include/cstring.h
index a3f6b3f..84976b1 100644
--- a/cstring/include/cstring.h
+++ b/cstring/include/cstring.h
@@ -3,7 +3,11 @@
 
 #include <cassert.h>
 
+#ifdef __linux__
 #include <bsd/string.h>
+#else
+#include <string.h>
+#endif
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
-- 
cgit v1.2.3