summaryrefslogtreecommitdiff
path: root/include/sys/resource.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-08 10:07:32 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-08 10:07:32 +0000
commitea9f6e1e2d60bac4e2c7f1fb9ee98f581a7c6229 (patch)
tree21b23d087fc8b0b522d5fa2bc54bd099e274d0b0 /include/sys/resource.h
parentcffcfd3f2f02aa906e5bffe2b81a04b92b04f7eb (diff)
Add support for personality(), prctl(), ustat(), and ulimit()
syscalls, which had managed to stay unimplemented thus far. -Erik
Diffstat (limited to 'include/sys/resource.h')
-rw-r--r--include/sys/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h
index e64a08672..3dd2da929 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 94, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,94,96,97,98,99,2000,2002 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
@@ -35,7 +35,7 @@ __BEGIN_DECLS
`int' as the type for the first argument. When we are compiling with
GNU extensions we change this slightly to provide better error
checking. */
-#ifdef __USE_GNU
+#if defined __USE_GNU && !defined __cplusplus
typedef enum __rlimit_resource __rlimit_resource_t;
typedef enum __rusage_who __rusage_who_t;
typedef enum __priority_which __priority_which_t;