summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-21 21:10:46 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-21 21:10:46 +0000
commitdaaae3fef353932552952f5350a444f9a3ce10ff (patch)
treee186dd9328d84c5d96ad62772bf1cfd5ca980d9f
parentb6c8aca47625331e58a4b929b6adf124f6929868 (diff)
Include stdio_lim.h to get definition of FOPEN_MAX.
Define STREAM_MAX using FOPEN_MAX.
-rw-r--r--xopen_lim.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xopen_lim.h b/xopen_lim.h
index 04a11ba320..4107a5d71f 100644
--- a/xopen_lim.h
+++ b/xopen_lim.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,9 +24,11 @@
should be used to obtain the actual value. */
#ifndef _XOPEN_LIM_H
-
#define _XOPEN_LIM_H 1
+#define __need_FOPEN_MAX
+#include <stdio_lim.h>
+
/* We do not provide fixed values for
ARG_MAX Maximum length of argument to the `exec' function
@@ -53,7 +55,7 @@
#define IOV_MAX _XOPEN_IOV_MAX
/* The number of streams that one process can have open at one time. */
-#define STREAM_MAX _POSIX_STREAM_MAX
+#define STREAM_MAX FOPEN_MAX
/* Maximum number of bytes supported for the name of a time zone. */
#define TZNAME_MAX _POSIX_TZNAME_MAX