[PATCH 0/1] MR2053: wmc: Include config.h from lang.c
tools.h uses HAVE_SYS_SYSCTL_H as an include guard which, like others set by configure, is defined in config.h. Make sure we pull that in or we never get to include sys/sysctl.h. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2053
From: Gerald Pfeifer <gerald(a)pfeifer.com> tools.h uses HAVE_SYS_SYSCTL_H as an include guard which, like others set by configure, is defined in config.h. Make sure we pull that in or never get to sys/sysctl.h. --- tools/wmc/lang.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/wmc/lang.c b/tools/wmc/lang.c index 7dd80d840e6..ff6fabc915b 100644 --- a/tools/wmc/lang.c +++ b/tools/wmc/lang.c @@ -17,6 +17,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ + +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2053
This merge request was closed by Alexandre Julliard. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2053
Superseded by 8772b38494e7e844bcc5546a428a85b5d28dbe50. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2053#note_23326
participants (3)
-
Alexandre Julliard (@julliard) -
Gerald Pfeifer -
Gerald Pfeifer (@gerald)