aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nstat/files/patch-nstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nstat/files/patch-nstat.c')
-rw-r--r--net-mgmt/nstat/files/patch-nstat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/nstat/files/patch-nstat.c b/net-mgmt/nstat/files/patch-nstat.c
new file mode 100644
index 000000000000..a9672689308e
--- /dev/null
+++ b/net-mgmt/nstat/files/patch-nstat.c
@@ -0,0 +1,10 @@
+--- nstat.c.orig 2018-07-26 14:34:20 UTC
++++ nstat.c
+@@ -53,6 +53,7 @@
+
+
+ /* why is this only defined in the kernel */
++#undef timespecadd
+ #define timespecadd(vvp, uvp) \
+ do { \
+ (vvp)->tv_sec += (uvp)->tv_sec; \