bwm-ng: fix compilation with GCC 14

Header is missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2024-05-12 20:39:52 -07:00
parent b8e26bba39
commit b0ddfc85da
2 changed files with 11 additions and 1 deletions

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bwm-ng
PKG_VERSION:=0.6.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.gropp.org/bwm-ng

View File

@ -0,0 +1,10 @@
--- a/src/defines.h
+++ b/src/defines.h
@@ -22,6 +22,7 @@
#ifndef __HAVE_DEFINE_H
#define __HAVE_DEFINE_H
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>