diff options
Diffstat (limited to 'resource')
-rw-r--r-- | resource/Makefile | 2 | ||||
-rw-r--r-- | resource/sys/resource.h | 6 | ||||
-rw-r--r-- | resource/sys/vlimit.h | 4 | ||||
-rw-r--r-- | resource/sys/vtimes.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/resource/Makefile b/resource/Makefile index f25ef2e..38d5a2c 100644 --- a/resource/Makefile +++ b/resource/Makefile @@ -18,7 +18,7 @@ subdir := resource -headers := sys/resource.h resourcebits.h sys/vlimit.h sys/vtimes.h +headers := sys/resource.h bits/resource.h sys/vlimit.h sys/vtimes.h routines := getrlimit setrlimit getrusage ulimit vlimit vtimes \ getpriority setpriority nice diff --git a/resource/sys/resource.h b/resource/sys/resource.h index 9af9b6a..e015876 100644 --- a/resource/sys/resource.h +++ b/resource/sys/resource.h @@ -17,14 +17,14 @@ Boston, MA 02111-1307, USA. */ #ifndef _SYS_RESOURCE_H - #define _SYS_RESOURCE_H 1 + #include <features.h> __BEGIN_DECLS /* Get the system-dependent definitions of structures and bit values. */ -#include <resourcebits.h> +#include <bits/resource.h> /* Put the soft and hard limits for RESOURCE in *RLIMITS. Returns 0 if successful, -1 if not (and sets errno). */ @@ -68,4 +68,4 @@ extern int setpriority __P ((enum __priority_which __which, int __who, __END_DECLS -#endif /* resource.h */ +#endif /* sys/resource.h */ diff --git a/resource/sys/vlimit.h b/resource/sys/vlimit.h index 4d07fab..d66368a 100644 --- a/resource/sys/vlimit.h +++ b/resource/sys/vlimit.h @@ -17,8 +17,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _SYS_VLIMIT_H - #define _SYS_VLIMIT_H 1 + #include <features.h> __BEGIN_DECLS @@ -65,4 +65,4 @@ extern int vlimit __P ((enum __vlimit_resource __resource, int __value)); __END_DECLS -#endif /* vlimit.h */ +#endif /* sys/vlimit.h */ diff --git a/resource/sys/vtimes.h b/resource/sys/vtimes.h index 8546327..51117d4 100644 --- a/resource/sys/vtimes.h +++ b/resource/sys/vtimes.h @@ -17,8 +17,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _SYS_VTIMES_H - #define _SYS_VTIMES_H 1 + #include <features.h> __BEGIN_DECLS |