bash: fixing missing PARAMS() macro in strtod.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville 2021-03-02 14:43:37 -07:00 committed by Rosen Penev
parent 51c5a8b4bc
commit fd9012836a
2 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bash
PKG_VERSION:=5.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/bash

View File

@ -0,0 +1,11 @@
--- a/lib/sh/strtod.c
+++ b/lib/sh/strtod.c
@@ -41,6 +41,8 @@ extern int errno;
#include <bashansi.h>
+#include <stdc.h>
+
#ifndef NULL
# define NULL 0
#endif