123456789101112131415 |
- Subject: Added define _DEFAULT_SOURCE line to avoid warning in Linux
- Origin: softflowd-0.9.9-13-g49c039a <https://github.com/irino/softflowd/commit/softflowd-0.9.9-13-g49c039a>
- Upstream-Author: Hitoshi Irino <irino@sfc.wide.ad.jp>
- Date: Fri Sep 14 15:37:53 2018 +0900
- --- a/common.h
- +++ b/common.h
- @@ -28,6 +28,7 @@
- #include "config.h"
-
- #define _BSD_SOURCE /* Needed for BSD-style struct ip,tcp,udp on Linux */
- +#define _DEFAULT_SOURCE /* It is recommended to use instead of _BSD_SOURCE on Linux */
-
- #include <sys/types.h>
- #include <sys/stat.h>
|