Skip to content

Commit

Permalink
Small fixes for Windows
Browse files Browse the repository at this point in the history
Fix file name for tuntap-windows.c in CMakeLists and add stdint so Visual Studio doesn't complain about uint32_t.
  • Loading branch information
tleguern committed Sep 19, 2018
1 parent 981fe9a commit 8ed4a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if(Windows)

# Windows specific source files
# -----------------------------
target_sources(tuntap PRIVATE tap-windows.c )
target_sources(tuntap PRIVATE tuntap-windows.c )
endif(Windows)

# OS specific things
Expand Down
1 change: 1 addition & 0 deletions private.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#if defined Windows
# include <In6addr.h>
# include <stdint.h>
#else /* Unix */
# include <sys/socket.h>
#endif
Expand Down

0 comments on commit 8ed4a98

Please sign in to comment.