1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

tests: Remove unneeded #includes

This commit is contained in:
Nick Wellnhofer
2022-11-22 15:40:51 +01:00
parent 701beb4ec7
commit 34a5a4a5e5
6 changed files with 3 additions and 22 deletions

View File

@@ -9,12 +9,8 @@
#include "libxml.h"
#include <stdio.h>
#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>

View File

@@ -14,8 +14,10 @@
#include "libxml.h"
#include <stdio.h>
#if !defined(_WIN32)
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#elif defined (_WIN32)
#include <io.h>
#endif
#include <string.h>
#include <sys/stat.h>
@@ -110,7 +112,6 @@ static int checkTestFile(const char *filename);
#if defined(_WIN32)
#include <windows.h>
#include <io.h>
typedef struct
{

View File

@@ -11,12 +11,8 @@
#ifdef LIBXML_XPATH_ENABLED
#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>

View File

@@ -14,9 +14,6 @@
#include <windows.h>
#endif
#include <string.h>
#if !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <assert.h>
#define MAX_ARGC 20

View File

@@ -13,12 +13,8 @@
#include "libxml.h"
#include <stdio.h>
#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <libxml/parser.h>

View File

@@ -13,12 +13,8 @@
#include "libxml.h"
#include <stdio.h>
#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
@@ -58,7 +54,6 @@ static int checkTestFile(const char *filename);
#if defined(_WIN32)
#include <windows.h>
#include <io.h>
typedef struct
{