Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102635738
D45351.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
485 B
Referenced Files
None
Subscribers
None
D45351.diff
View Options
diff --git a/tools/build/fcntl.h b/tools/build/fcntl.h
--- a/tools/build/fcntl.h
+++ b/tools/build/fcntl.h
@@ -29,6 +29,13 @@
#include_next <fcntl.h>
+/*
+ * On FreeBSD fcntl.h indirectly brings in cdefs.h. On Linux with musl, it does
+ * not. Unconditionally inlude it here since there's no harm in including it
+ * multiple times since we use __BEGIN_DECLS and __END_DECLS from it below.
+ */
+#include <sys/cdefs.h>
+
struct spacectl_range {
off_t r_offset;
off_t r_len;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 3:34 AM (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14652527
Default Alt Text
D45351.diff (485 B)
Attached To
Mode
D45351: build: Include sys/cdefs.h in our fcntl.h shim
Attached
Detach File
Event Timeline
Log In to Comment