From: Thomas Haller Date: Wed, 23 Mar 2016 16:55:27 +0000 (+0100) Subject: shared: include in "nm-macros-internal.h" X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=NetworkManager.git;a=commitdiff_plain;h=2c11e23c34628f5fe8bb9b6036fcc442d0d6a41d 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. --- 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)))