usernsexec: Add missing getline.h include

parent 7faa7f52
...@@ -38,8 +38,15 @@ ...@@ -38,8 +38,15 @@
#include <sched.h> #include <sched.h>
#include <pwd.h> #include <pwd.h>
#include <grp.h> #include <grp.h>
#include "config.h"
#include "namespace.h" #include "namespace.h"
#ifndef HAVE_GETLINE
#ifdef HAVE_FGETLN
#include <../include/getline.h>
#endif
#endif
int unshare(int flags); int unshare(int flags);
static void usage(const char *name) static void usage(const char *name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment