From 2c11e23c34628f5fe8bb9b6036fcc442d0d6a41d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 23 Mar 2016 17:55:27 +0100 Subject: [PATCH] shared: include in "nm-macros-internal.h" "nm-macros-internal.h" uses free() for the "nm_auto_free" macro. Thus, as long as that code is there, we anyway must include along the line. Do it in "nm-macros-internal.h" to make the header self-contained. --- shared/nm-macros-internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/nm-macros-internal.h b/shared/nm-macros-internal.h index e87539218..152cbf67e 100644 --- a/shared/nm-macros-internal.h +++ b/shared/nm-macros-internal.h @@ -22,6 +22,8 @@ #ifndef __NM_MACROS_INTERNAL_H__ #define __NM_MACROS_INTERNAL_H__ +#include + /********************************************************/ #define nm_auto(fcn) __attribute ((cleanup(fcn))) -- 2.17.1