0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 04:38:06 +00:00
packages/net/tmate/patches/010-gcc14.patch
Rosen Penev 81b26a1540 tmate: fix compilation with GCC14
Need a define for strcasestr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-01-06 19:22:49 -08:00

14 lines
227 B
Diff

--- a/tmux.c
+++ b/tmux.c
@@ -16,6 +16,10 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>