From ed82f428f435f8216a608c3c76c0cceeb9339ad0 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Tue, 5 May 2026 00:11:54 +0200
Subject: KControl - joystick: Fix build issues with GCC 16.x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Remove now probably no longer needed __STRICT_ANSI__ to avoid
redefinitions of structures originating from includes internal
to "math.h" include.

This resolves issue #735.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 kcontrol/joystick/joydevice.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kcontrol/joystick/joydevice.h b/kcontrol/joystick/joydevice.h
index 7519bbf67..de6d95ea4 100644
--- a/kcontrol/joystick/joydevice.h
+++ b/kcontrol/joystick/joydevice.h
@@ -24,9 +24,7 @@
 #include <tqstring.h>
 
 #include <sys/types.h>
-#undef __STRICT_ANSI__
 #include <linux/joystick.h>
-#define __STRICT_ANSI__
 
 // helper class which holds all current values, file descriptor, etc. for
 // one device
-- 
cgit v1.2.3

