--- gdbm-1.25/tools/gdbmapp.h.orig	2025-03-06 16:51:59.000000000 +0100
+++ gdbm-1.25/tools/gdbmapp.h	2025-04-17 09:00:24.952369600 +0200
@@ -14,6 +14,7 @@
    You should have received a copy of the GNU General Public License
    along with GDBM. If not, see <http://www.gnu.org/licenses/>.   */
 
+#include <sys/types.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include "gettext.h"
