]> The Tcpdump Group git mirrors - tcpdump/commit
Fix a warning on Linux Alpine
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 2 Jan 2021 13:03:00 +0000 (14:03 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 2 Jan 2021 21:06:59 +0000 (22:06 +0100)
commitac88cb08eb2ea344e0bb5524355caa9093ee89c4
tree148322ef989ce5b116caa68ad317b419ecda9f17
parent88d49d2b0617b6d7c79e9df1de18b3f9a50ae3c4
Fix a warning on Linux Alpine

The warning was like:
In file included from ./netdissect-stdinc.h:42,
                 from ./fptype.c:36:
./ftmacros.h:116: warning: "_BSD_SOURCE" redefined
  116 |   #define _BSD_SOURCE
      |
In file included from /usr/include/stdio.h:8,
                 from /usr/include/fortify/stdio.h:22,
                 from ./fptype.c:34:
/usr/include/features.h:15: note: this is the location of the previous
  definition
   15 | #define _BSD_SOURCE 1
      |
ftmacros.h