mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
cbe4b726da
Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
16 lines
373 B
Diff
16 lines
373 B
Diff
--- a/src/lxc/utils.h
|
|
+++ b/src/lxc/utils.h
|
|
@@ -36,11 +36,7 @@ __hidden extern int mkdir_p(const char *
|
|
__hidden extern char *get_rundir(void);
|
|
|
|
/* Define getline() if missing from the C library */
|
|
-#ifndef HAVE_GETLINE
|
|
-#ifdef HAVE_FGETLN
|
|
-#include <../include/getline.h>
|
|
-#endif
|
|
-#endif
|
|
+#include "../include/getline.h"
|
|
|
|
static inline int lxc_set_cloexec(int fd)
|
|
{
|