diff --git a/modules/mount_bind.c b/modules/mount_bind.c
index c17c6f1..ff69eb0 100644
--- a/modules/mount_bind.c
+++ b/modules/mount_bind.c
@@ -22,6 +22,18 @@
 #include <sys/stat.h>
 #include <sys/mount.h>
 
+#ifndef MS_PRIVATE
+#define MS_PRIVATE (1 << 18)
+#endif
+
+#ifndef MS_SLAVE
+#define MS_SLAVE (1 << 19)
+#endif
+
+#ifndef MS_SHARED
+#define MS_SHARED (1 << 20)
+#endif
+
 #define MODULE_MOUNT
 #include "automount.h"
 
