Skip to content
Snippets Groups Projects
Commit 39dba5aa authored by Martin Storsjö's avatar Martin Storsjö
Browse files

network: Include unistd.h from network.h


This heaader is required for close() for sockets in network
code. For winsock, the equivalent function is defined in the
winsock2.h header.

This avoids having the HAVE_UNISTD_H in all files dealing with
raw sockets.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent b8c632a7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment