From 63654183a890502fe8d97f6e5d2be23589413a7a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 13 Jul 2016 12:37:11 -0400 Subject: [PATCH] documents portal: Make sure O_PATH is defined FreeBSD doesn't have it. https://bugzilla.gnome.org/show_bug.cgi?id=768780 --- gio/gdocumentportal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gio/gdocumentportal.c b/gio/gdocumentportal.c index de71cf7bc..d29530052 100644 --- a/gio/gdocumentportal.c +++ b/gio/gdocumentportal.c @@ -30,6 +30,10 @@ #include "gunixfdlist.h" #endif +#ifndef O_PATH +#define O_PATH 0 +#endif + static GXdpDocuments *documents; static char *documents_mountpoint;