Skip to content

Commit

Permalink
fix write header
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton authored May 9, 2023
1 parent a51cabc commit 40858c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/dnet/all/test_package/test_package.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
#include <stdio.h>
#include <stdlib.h>

#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
#include <unistd.h>
#elif defined(_WIN32)
#include <io.h>
#endif

void addr_usage(void)
{
fprintf(stderr, "Usage: dnet addr <address> ...\n");
Expand Down

0 comments on commit 40858c4

Please sign in to comment.