Fixup some includes for macOS

This commit is contained in:
Omar Rizwan
2024-06-18 18:31:27 -04:00
parent 62c247f432
commit 6e1c2cfedc
5 changed files with 13 additions and 3 deletions
+5
View File
@@ -3,8 +3,13 @@
#include "ultratypes.h"
// These are defined in macOS (BSD?), so we want to def them out.
#ifndef __APPLE__
// Old deprecated functions from strings.h, replaced by memcpy/memset.
extern void bcopy(const void *, void *, size_t);
extern void bzero(void *, size_t);
#endif
#endif /* !_OS_LIBC_H_ */