Преглед изворни кода

package: iproute2: Fix build

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter пре 3 недеља
родитељ
комит
40abba7058
1 измењених фајлова са 14 додато и 0 уклоњено
  1. 14 0
      package/iproute2/patches/patch-include_json_print_h

+ 14 - 0
package/iproute2/patches/patch-include_json_print_h

@@ -0,0 +1,14 @@
+	Upstream commit 987be66915100 ("include/json_print.h: add includes for `__u32` and `timeval` declarations")
+--- iproute2-6.19.0.orig/include/json_print.h	2026-02-18 16:36:13.000000000 +0100
++++ iproute2-6.19.0/include/json_print.h	2026-07-13 17:02:38.437621118 +0200
+@@ -8,6 +8,10 @@
+ #ifndef _JSON_PRINT_H_
+ #define _JSON_PRINT_H_
+ 
++#include <sys/time.h> /* struct timeval typedef */
++
++#include <asm/types.h> /* __u32 typedef */
++
+ #include "json_writer.h"
+ #include "color.h"
+