Skip to content

Commit

Permalink
Merge pull request #25 from barracuda156/apple
Browse files Browse the repository at this point in the history
  • Loading branch information
troglobit authored Jul 26, 2024
2 parents e6fb7d9 + f8f3754 commit e0d8c3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/netcalc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#include <config.h>
#include <stdint.h>
#include <err.h> /* warnx() et al */
#ifdef __APPLE__
#include <sys/socket.h> /* Has to be included before net/if.h */
#endif
#include <net/if.h> /* IFNAMSIZ */

#define V4ADDR_VAL "0123456789."
Expand Down

0 comments on commit e0d8c3c

Please sign in to comment.