functionaccept which violates C99 rules and causes compilation to fail with GCC 14 (and IMHO can cause wrong behavior on big-endian systems). [boo#1221006] If the request is OK, please also forward it to Factory soon-ish so that we can switch the default compiler. OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=27
13 lines
426 B
Diff
13 lines
426 B
Diff
Index: linux-atm-2.5.2/src/maint/zntune.c
|
|
===================================================================
|
|
--- linux-atm-2.5.2.orig/src/maint/zntune.c
|
|
+++ linux-atm-2.5.2/src/maint/zntune.c
|
|
@@ -14,6 +14,7 @@
|
|
#include <sys/ioctl.h>
|
|
#include <atm.h>
|
|
#include <sys/time.h> /* for struct timeval, although it's not used */
|
|
+#define _LINUX_TIME_H /* block linux/time.h from being included */
|
|
#include <linux/atm_zatm.h>
|
|
|
|
|