tools: Avoid using wine/port.h.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-07 14:37:04 +02:00
parent ae9f64c464
commit f9ee0d2f05
57 changed files with 11 additions and 236 deletions

View File

@ -19,15 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "windef.h"
#include "guiddef.h"

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>

View File

@ -19,13 +19,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>

View File

@ -23,9 +23,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>

View File

@ -20,13 +20,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>

View File

@ -19,13 +19,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>

View File

@ -19,13 +19,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>

View File

@ -20,13 +20,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <assert.h>
#include <ctype.h>

View File

@ -20,21 +20,16 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <ctype.h>
#include "widl.h"
#include "windef.h"
#include "winbase.h"
#include "widl.h"
#include "utils.h"
#include "wpp_private.h"
#include "parser.h"

View File

@ -20,7 +20,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>

View File

@ -20,15 +20,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <assert.h>
#include <ctype.h>

View File

@ -28,7 +28,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
@ -39,12 +38,11 @@
#define NONAMELESSUNION
#include "widl.h"
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "widl.h"
#include "typelib.h"
#include "typelib_struct.h"
#include "utils.h"

View File

@ -20,7 +20,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -28,12 +27,6 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "wine/list.h"
#include "build.h"

View File

@ -23,7 +23,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>

View File

@ -23,7 +23,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>

View File

@ -23,7 +23,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdarg.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -27,10 +26,6 @@
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <fcntl.h>
#include "build.h"

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -27,10 +26,6 @@
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <fcntl.h>
#include "build.h"

View File

@ -23,7 +23,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>

View File

@ -23,7 +23,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -27,12 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include "build.h"

View File

@ -21,25 +21,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "../tools.h"
#include "windef.h"

View File

@ -19,24 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "windef.h"

View File

@ -19,22 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <fcntl.h>
#include "../tools.h"
#include "windef.h"

View File

@ -19,19 +19,12 @@
*/
#include "config.h"
#include "wine/port.h"
#include "winedump.h"
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <fcntl.h>
#include <stdarg.h>
#include "winedump.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -19,20 +19,10 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "windef.h"

View File

@ -19,14 +19,10 @@
*/
#include "config.h"
#include "wine/port.h"
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "windef.h"
#include "winbase.h"

View File

@ -19,20 +19,10 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#define NONAMELESSUNION

View File

@ -19,22 +19,15 @@
*/
#include "config.h"
#include "wine/port.h"
#include "winedump.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <fcntl.h>
#include <stdarg.h>
#include <fcntl.h>
#include "windef.h"
#include "winbase.h"
#include "winedump.h"
#include "pshpack1.h"

View File

@ -19,9 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "../tools.h"
#include "winedump.h"
_globals globals; /* All global variables */

View File

@ -19,9 +19,8 @@
*/
#include "config.h"
#include "wine/port.h"
#include "winedump.h"
#include "winedump.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -23,11 +23,9 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "winedump.h"
#include "winver.h"
#include "dbghelp.h"
#include "winedump.h"
static void dump_mdmp_data(const MINIDUMP_LOCATION_DESCRIPTOR* md, const char* pfx)
{

View File

@ -19,9 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "../tools.h"
#include "winedump.h"

View File

@ -19,27 +19,13 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "../tools.h"
#include "windef.h"
#include "winbase.h"
#include "winedump.h"

View File

@ -19,9 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "../tools.h"
#include "winedump.h"
/* Type for parsing mangled types */

View File

@ -19,14 +19,10 @@
*/
#include "config.h"
#include "wine/port.h"
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <fcntl.h>
#include "windef.h"
#include "winbase.h"

View File

@ -19,13 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../tools.h"
#include "windef.h"
#include "winedump.h"

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include "winedump.h"

View File

@ -19,29 +19,15 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#define NONAMELESSUNION
#include "../tools.h"
#include "windef.h"
#include "winbase.h"
#include "winedump.h"

View File

@ -19,29 +19,15 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "../tools.h"
#include "windef.h"
#include "winbase.h"
#include "winedump.h"

View File

@ -19,9 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "../tools.h"
#include "winedump.h"
static char *grep_buff = NULL;

View File

@ -19,9 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include "../tools.h"
#include "winedump.h"

View File

@ -20,13 +20,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../tools.h"
#include "winedump.h"
#define MSFT_MAGIC 0x5446534d

View File

@ -42,6 +42,7 @@
#include <assert.h>
#include <stdarg.h>
#include "../tools.h"
#include "windef.h"
#include "winbase.h"

View File

@ -19,8 +19,8 @@
* 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 "wine/port.h"
#include <stdio.h>
#include <string.h>

View File

@ -87,7 +87,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -120,8 +120,8 @@
* - Corrected syntax problems with an old yacc (;)
* - Added extra comment about grammar
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -21,7 +21,6 @@
%{
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>

View File

@ -20,7 +20,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
@ -30,9 +29,6 @@
#include <string.h>
#include <stdarg.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "../tools.h"
#include "utils.h"

View File

@ -20,13 +20,9 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <string.h>
#include <assert.h>
#include <ctype.h>

View File

@ -19,7 +19,6 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>