GNOME Bugzilla – Bug 789812
error: use of undeclared identifier 'O_PATH'
Last modified: 2017-11-04 17:57:20 UTC
The build of gnome-recipes fails on OpenBSD (and any other non-glibc platform I reckon) due to the use of the non-standard O_PATH flag: ../gnome-recipes-2.0.0/src/gr-mail.c:287:58: error: use of undeclared identifier 'O_PATH' fd = g_open (md->attachments[i], O_PATH | O_CLOEXEC); POSIX doesn't appear to define this flag, only glibc. Could it be made optional and only use it when defined? This is with gnome-recipes 2.0, but git master has the same code.