ports/misc/hfsplus/patches/patch-libhfsp_src_unicode_c

16 lines
329 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- libhfsp/src/unicode.c.orig Tue Mar 5 20:50:29 2002
+++ libhfsp/src/unicode.c Fri May 1 20:01:32 2015
@@ -15,8 +15,12 @@
#include <stdlib.h>
#include <endian.h>
+#if defined(__OpenBSD__)
+#include <stddef.h>
+#else
#include <byteswap.h>
#include <linux/string.h>
+#endif
#define __USE_GNU
/* need wcsrtomb */