aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-05-03 16:20:27 -0500
committerRob Landley <rob@landley.net>2015-05-03 16:20:27 -0500
commit9398f05d34453e9306f7a91993ee4c8fcf1102ec (patch)
tree4891ab697227e014df4021a33acbe5c4668bc7e5 /lib/portability.h
parenta967a669458ebb6b2a88a2d7e290ad449ab79d12 (diff)
downloadtoybox-9398f05d34453e9306f7a91993ee4c8fcf1102ec.tar.gz
Move a prototype to the start of portability.h (suggested by Elliott Hughes)
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index b25048fe..7bab646d 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -28,6 +28,9 @@
#include <features.h>
+// Types various replacement prototypes need
+#include <sys/types.h>
+
// Various constants old build environments might not have even if kernel does
#ifndef AT_FDCWD