Package: softflowd / 0.9.9-5

cherry-pick.softflowd-0.9.9-13-g49c039a.added-define-default-source-line-to-avoid-warning-in-linux.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>