summaryrefslogtreecommitdiff
path: root/io/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/mknod.c')
-rw-r--r--io/mknod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/mknod.c b/io/mknod.c
index b41582cae3..95ebe5a6d2 100644
--- a/io/mknod.c
+++ b/io/mknod.c
@@ -16,6 +16,7 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
+#include <sys/types.h>
#include <sys/stat.h>
/* This definition is only used if inlining fails for this function; see