summaryrefslogtreecommitdiff
path: root/util/igetevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/igetevent.c')
-rw-r--r--util/igetevent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/igetevent.c b/util/igetevent.c
index 96f5442..25d0d8e 100644
--- a/util/igetevent.c
+++ b/util/igetevent.c
@@ -113,6 +113,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <fcntl.h>
#if defined(HPUX)
/* getopt is defined in stdio.h */
+#include <limits.h> /* for _SC_OPEN_MAX, usu 1024. */
#elif defined(MACOS)
/* getopt is defined in unistd.h */
#include <unistd.h>
@@ -168,7 +169,7 @@ extern void free_sdr_cache(uchar *pret); /*see isensor.c*/
* Global variables
*/
static char * progname = "igetevent";
-static char * progver = "2.96";
+static char * progver = "2.97";
static char fdebug = 0;
static char fipmilan = 0;
static char frunonce = 0;