[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] jobs.c not checking HAVE_SYS_PARAM_H
From: |
John E. Malmberg |
Subject: |
[patch] jobs.c not checking HAVE_SYS_PARAM_H |
Date: |
Mon, 10 Oct 2011 22:44:07 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 |
In the bash 4.2 source:
jobs.c is not checking HAVE_SYS_PARAM_H.
This prevents it from compiling on VMS which does not supply this header.
Regards,
-John
wb8tyw@qsl.network
Personal Opinion Only
$ diff -ub a/jobs.c b/jobs.c
--- a/jobs.c 2011-09-26 22:28:17.000000000 -0500
+++ b/jobs.c 2011-10-05 21:52:01.000000000 -0500
@@ -45,7 +45,9 @@
#include "filecntl.h"
#include <sys/ioctl.h>
+#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
+#endif
#if defined (BUFFERED_INPUT)
# include "input.h"
- [patch] jobs.c not checking HAVE_SYS_PARAM_H,
John E. Malmberg <=