13 lines
312 B
Text
13 lines
312 B
Text
|
Index: src/vesta.c
|
||
|
--- src/vesta.c.orig
|
||
|
+++ src/vesta.c
|
||
|
@@ -82,7 +82,7 @@
|
||
|
|
||
|
#define LIB_LINE_MAX 65535
|
||
|
|
||
|
-#ifdef __APPLE__
|
||
|
+#if defined(__APPLE__) || defined(__OpenBSD__)
|
||
|
// Linux defines a comparison function prototype, the Mac doesn't. . .
|
||
|
typedef int (*__compar_fn_t)(const void *, const void *);
|
||
|
#endif
|