Make network test build on windows

Add a little to gitignore
This commit is contained in:
Niklas Larsson 2020-05-19 15:46:28 +02:00
parent 1bebd7d070
commit efc595394b
2 changed files with 9 additions and 0 deletions

7
.gitignore vendored
View File

@ -2,6 +2,10 @@
*.ibc
*.ttc
*.ttm
*.o
*.d
*.a
*.dll
*.dSYM
@ -12,6 +16,9 @@
/docs/build/
/libs/**/build
/src/IdrisPaths.idr
/tests/**/output
/tests/**/*.so
/tests/**/*.dylib

View File

@ -1,7 +1,9 @@
#include <assert.h>
#include <stdio.h>
#ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#include "idris_net.h"