Skip to content

Commit

Permalink
no unistd.h for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 12, 2024
1 parent 4bf9ded commit efb99c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/nbio.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
#include <assert.h>
#include <errno.h>
#include <limits.h>
#if !defined(_MSC_VER)
#include <fcntl.h>
#include <poll.h>
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#if !defined(_MSC_VER)
#include <fcntl.h>
#include <poll.h>
#include <unistd.h>
#endif

#include "nbio.h"

Expand Down

0 comments on commit efb99c2

Please sign in to comment.