documents portal: Make sure O_PATH is defined

FreeBSD doesn't have it.

https://bugzilla.gnome.org/show_bug.cgi?id=768780
This commit is contained in:
Matthias Clasen 2016-07-13 12:37:11 -04:00
parent 92e3189613
commit 63654183a8

View File

@ -30,6 +30,10 @@
#include "gunixfdlist.h"
#endif
#ifndef O_PATH
#define O_PATH 0
#endif
static GXdpDocuments *documents;
static char *documents_mountpoint;