|
@@ -11,8 +11,7 @@
|
|
#include <stdlib.h>
|
|
#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
#include <stdarg.h>
|
|
#include <linux/compiler.h>
|
|
#include <linux/compiler.h>
|
|
-#include <linux/types.h>
|
|
|
|
-#include "namespaces.h"
|
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
|
/* General helper functions */
|
|
/* General helper functions */
|
|
void usage(const char *err) __noreturn;
|
|
void usage(const char *err) __noreturn;
|
|
@@ -26,6 +25,7 @@ static inline void *zalloc(size_t size)
|
|
#define zfree(ptr) ({ free(*ptr); *ptr = NULL; })
|
|
#define zfree(ptr) ({ free(*ptr); *ptr = NULL; })
|
|
|
|
|
|
struct dirent;
|
|
struct dirent;
|
|
|
|
+struct nsinfo;
|
|
struct strlist;
|
|
struct strlist;
|
|
|
|
|
|
int mkdir_p(char *path, mode_t mode);
|
|
int mkdir_p(char *path, mode_t mode);
|