[lxc-devel] [lxc/master] include: correctly include macro.h

brauner on Github lxc-bot at linuxcontainers.org
Fri Nov 2 22:21:44 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181102/026a24c8/attachment.bin>
-------------- next part --------------
From a9b8dbfa95f14d17ad014d3ee4400602933297ee Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Fri, 2 Nov 2018 23:20:46 +0100
Subject: [PATCH] include: correctly include macro.h

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/include/lxcmntent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/lxcmntent.c b/src/include/lxcmntent.c
index 5ada15ba7..4c1ad763b 100644
--- a/src/include/lxcmntent.c
+++ b/src/include/lxcmntent.c
@@ -22,10 +22,10 @@
 #define _GNU_SOURCE 1
 #endif
 #include <alloca.h>
-#include <macro.h>
 #include <mntent.h>
 #include <stdio.h>
 #include <string.h>
+#include "../lxc/macro.h"
 
 /* Since the values in a line are separated by spaces, a name cannot
  * contain a space. Therefore some programs encode spaces in names


More information about the lxc-devel mailing list