Skip to contentSkip to conversation

mtab.c: include <paths.h> for _PATH_MOUNTED

PATCH In review Felix Janda 2 participants 2 messages Dec 5, 2014 – Dec 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtab.c: include <paths.h> for _PATH_MOUNTED

---
 mtab.c | 1 +
 1 file changed, 1 insertion(+)
mtab.c +1 -0
index 7b365b3..a662a3c 100644
@@ -38,6 +38,7 @@
 #include <mntent.h>
 #include <stdlib.h>
 #include <signal.h>
+#include <paths.h>
 #include "mount.h"
 #include "config.h"
 
Signature · 1 line
2.0.4
#1 lore raw
Quoted 10 lines · On Fri, 5 Dec 2014 23:19:29 +0100 Felix Janda…
---
 mtab.c | 1 +
 1 file changed, 1 insertion(+)
mtab.c +0 -0
index 7b365b3..a662a3c 100644

mtab.c line 44

Quoted 7 lines
mtab.c +1 -0
@@ -38,6 +38,7 @@
 #include <mntent.h>
 #include <stdlib.h>
 #include <signal.h>
+#include <paths.h>
 #include "mount.h"
 #include "config.h"
 

Looks fine. I'll merge that in the next few days.

Thanks!

Signature · 1 line
Jeff Layton <[email protected]>