diff options
author | 3gg <3gg@shellblade.net> | 2024-09-22 16:53:18 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-09-22 16:53:18 -0700 |
commit | da9a6a75acac8c8597d807757bbd9e60f39c31de (patch) | |
tree | 3ac3e247a778cf4370d0967bc56c3e0199cd8f92 /cstring/include/cstring.h | |
parent | ac801fb439abe3897d2a5156e3d87c8aeb589bd4 (diff) |
FreeBSD port.
Diffstat (limited to 'cstring/include/cstring.h')
-rw-r--r-- | cstring/include/cstring.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
3 | 3 | ||
4 | #include <cassert.h> | 4 | #include <cassert.h> |
5 | 5 | ||
6 | #ifdef __linux__ | ||
6 | #include <bsd/string.h> | 7 | #include <bsd/string.h> |
8 | #else | ||
9 | #include <string.h> | ||
10 | #endif | ||
7 | #include <stdbool.h> | 11 | #include <stdbool.h> |
8 | #include <stdint.h> | 12 | #include <stdint.h> |
9 | #include <stdio.h> | 13 | #include <stdio.h> |