--- a/include/libbb.h.orig	2012-09-17 08:28:35.215518120 -0400
+++ b/include/libbb.h	2012-09-17 08:28:49.807212925 -0400
@@ -44,6 +44,7 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <sys/resource.h>
 #ifndef major
 # include <sys/sysmacros.h>
 #endif