summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ulimit.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/ulimit.h b/include/ulimit.h
index 049d382..0828fc6 100644
--- a/include/ulimit.h
+++ b/include/ulimit.h
@@ -31,8 +31,17 @@
#include <sys/cdefs.h>
-#define UL_GETSIZE 1
-#define UL_SETSIZE 2
+#define UL_GETFSIZE 1
+#define UL_SETFSIZE 2
+
+#if __BSD_VISIBLE
+/*
+ * The "F" was mistakenly omitted from the macro names in FreeBSD 5.0.
+ * Do not use these names; they will be removed before 6.0.
+ */
+#define UL_GETSIZE UL_GETFSIZE
+#define UL_SETSIZE UL_SETFSIZE
+#endif
__BEGIN_DECLS
long ulimit(int, ...);
OpenPOWER on IntegriCloud