]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/mount.h
core: undo the dependency inversion between unit.h and all unit types
[thirdparty/systemd.git] / src / core / mount.h
index 08a4cfe61f1daa6748a965bc4ba1750696adb144..71dac128c22237372032662d6eecb6066a1dc4e3 100644 (file)
@@ -11,6 +11,7 @@ typedef struct Mount Mount;
 
 #include "kill.h"
 #include "dynamic-user.h"
+#include "unit.h"
 
 typedef enum MountExecCommand {
         MOUNT_EXEC_MOUNT,
@@ -97,3 +98,5 @@ MountExecCommand mount_exec_command_from_string(const char *s) _pure_;
 
 const char* mount_result_to_string(MountResult i) _const_;
 MountResult mount_result_from_string(const char *s) _pure_;
+
+DEFINE_CAST(MOUNT, Mount);