Skip to content

Commit

Permalink
Remove unistd.h from windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xoviat committed Mar 2, 2018
1 parent 1d5e030 commit bef3d5c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fmpq_poly/test/t-print_read.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
Expand Down
2 changes: 2 additions & 0 deletions fmpz/test/t-out_inp_raw.c
Expand Up @@ -13,7 +13,9 @@
#undef ulong
#define ulong ulongxx /* interferes with standard libraries */
#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>

Expand Down
2 changes: 2 additions & 0 deletions fmpz/test/t-print_read.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
Expand Down
2 changes: 2 additions & 0 deletions fmpz_mat/test/t-print_read.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
Expand Down
2 changes: 2 additions & 0 deletions fmpz_mod_poly/test/t-print_read.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
Expand Down
2 changes: 2 additions & 0 deletions fmpz_poly/test/t-print_read.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
Expand Down
2 changes: 2 additions & 0 deletions fmpz_poly/test/t-print_read_pretty.c
Expand Up @@ -10,7 +10,9 @@
*/

#include <sys/types.h>
#if (!defined (__WIN32) || defined(__CYGWIN__)) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand Down

0 comments on commit bef3d5c

Please sign in to comment.