[PATCH rdma-core 1/4] Shim sd_notify when libsystemd is not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
---
 buildlib/fixup-include/systemd-sd-daemon.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/buildlib/fixup-include/systemd-sd-daemon.h b/buildlib/fixup-include/systemd-sd-daemon.h
index bd111bc6d21cd9..29cb70c51d404d 100644
--- a/buildlib/fixup-include/systemd-sd-daemon.h
+++ b/buildlib/fixup-include/systemd-sd-daemon.h
@@ -9,3 +9,8 @@ static inline int sd_is_socket(int fd, int family, int type, int listening)
 {
 	return 0;
 }
+
+static inline int sd_notify(int unset_environment, const char *state)
+{
+	return 0;
+}
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux