]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/bsd/sun/sunos4/bits/resource.h
Update.
[thirdparty/glibc.git] / sysdeps / unix / bsd / sun / sunos4 / bits / resource.h
index f51262d92d1cae1eacd9cdc3acacb1c0fd00204d..6978c87dd2b9ef9472b2c6df972aba732ca57988 100644 (file)
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef _SYS_RESOURCE_H
+# error "Never use <bits/resource.h> directly; include <sys/resource.h> instead."
+#endif
+
 /* These are the values for 4.4 BSD and GNU.  Earlier BSD systems have a
    subset of these kinds of resource limit.  In systems where `getrlimit'
    and `setrlimit' are not system calls, these are the values used by the C
@@ -110,7 +114,8 @@ enum __rusage_who
 #define RUSAGE_CHILDREN RUSAGE_CHILDREN
   };
 
-#include <sys/time.h>           /* For `struct timeval'.  */
+#define __need_timeval
+#include <bits/time.h>           /* For `struct timeval'.  */
 
 /* Structure which says how much of each resource has been used.  */
 struct rusage