Skip to content

Commit

Permalink
Include stdint.h unconditionally. Remove sys/types.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
royhills committed Jan 4, 2024
1 parent 7d2b986 commit c7bc7f2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions arp-scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,8 @@
#include <errno.h>
#include <limits.h>
#include <assert.h>

#include <sys/types.h>

/* Integer types (C99) */
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
#ifdef HAVE_STDINT_H
/* C99 standard headers */
#include <stdint.h>
#endif
#endif

#ifdef HAVE_UNISTD_H
#include <unistd.h>
Expand Down

0 comments on commit c7bc7f2

Please sign in to comment.