[Bug 709423] New: [PATCH] gstv4l2bufferpool: O_CLOEXEC needs _GNU_SOURCE

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 4 13:42:52 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=709423
  GStreamer | gst-plugins-good | 1.2.0

           Summary: [PATCH] gstv4l2bufferpool: O_CLOEXEC needs _GNU_SOURCE
    Classification: Platform
           Product: GStreamer
           Version: 1.2.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jacmet at sunsite.dk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=256463)
 View: https://bugzilla.gnome.org/attachment.cgi?id=256463
 Review: https://bugzilla.gnome.org/review?bug=709423&attachment=256463

patch to fix issue

On some systems (E.G. uClibc and older Glibc versions), O_CLOEXEC is only
defined when _GNU_SOURCE is specified, so do so.

_GNU_SOURCE needs to be defined before any system headers are included,
so move the fcntl.h section up.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list