Fix the #include order for config.h. Add #include "config.h" directives where needed.
diff --git a/include/ts_xshm.h b/include/ts_xshm.h index b54294f..db4459c 100644 --- a/include/ts_xshm.h +++ b/include/ts_xshm.h
@@ -2,14 +2,15 @@ * Thread safe wrappers around XShm calls. * Always include this file instead of <X11/XShm.h>. * This file was generated automatically by tools/make_X11wrappers - * - * Copyright 1998 Kristian Nielsen + * DO NOT EDIT! */ #ifndef __WINE_TS_XSHM_H #define __WINE_TS_XSHM_H -#include "config.h" +#ifndef __WINE_CONFIG_H +# error You must include config.h to use this header +#endif #ifdef HAVE_LIBXXSHM