[systemd-bugs] [Bug 83097] New: systemd/sd-bus.h needs memfd.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 26 03:24:41 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83097

          Priority: medium
            Bug ID: 83097
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd/sd-bus.h needs memfd.h
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: mustrumr97 at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

/usr/include/systemd/sd-bus.h:31:19: fatal error: memfd.h: No such file or
directory

#include "memfd.h" should be moved to src/libsystemd/sd-bus/bus-message.c.

--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -28,6 +28,7 @@
 #include "strv.h"
 #include "time-util.h"
 #include "cgroup-util.h"
+#include "memfd.h"

 #include "sd-bus.h"
 #include "bus-message.h"
--- a/src/systemd/sd-bus.h
+++ b/src/systemd/sd-bus.h
@@ -28,7 +28,6 @@

 #include "sd-id128.h"
 #include "sd-event.h"
-#include "memfd.h"
 #include "_sd-common.h"

 _SD_BEGIN_DECLARATIONS;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140826/58cfed02/attachment.html>


More information about the systemd-bugs mailing list