Skip to content

Commit

Permalink
traceroute6: add missing #include <inttypes.h>
Browse files Browse the repository at this point in the history
This fixes:
  traceroute6.c:623:21: error: expected ')'
                if (fscanf(f, "%" SCNu16, &nr) != 1)
                                  ^
  traceroute6.c:623:13: note: to match this '('
                if (fscanf(f, "%" SCNu16, &nr) != 1)
                            ^

Signed-off-by: Maciej Żenczykowski <[email protected]>
Change-Id: I1ba9d81ce9a571a917322c2628b426dd6a01d7c4
  • Loading branch information
zenczykowski committed Oct 17, 2019
1 parent 99aa409 commit 30b0fa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions traceroute6.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@

#include <arpa/inet.h>
#include <errno.h>
#include <inttypes.h>
#include <linux/types.h>
#include <netdb.h>
#include <net/if.h>
Expand Down

0 comments on commit 30b0fa4

Please sign in to comment.