blob: 25143d759fd2143a9ba5748a4a33747d88be96c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- lib/stdio_ext.h.orig 2016-07-13 06:58:54 UTC
+++ lib/stdio_ext.h
@@ -0,0 +1,16 @@
+#pragma once
+#include <stdio.h>
+
+enum {
+ FSETLOCKING_QUERY,
+ FSETLOCKING_INTERNAL,
+ FSETLOCKING_BYCALLER,
+};
+
+static inline int
+__fsetlocking(FILE *fp __unused, int type __unused)
+{
+
+ /* No-op on FreeBSD? */
+ return (FSETLOCKING_BYCALLER);
+}
|