summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-26 14:04:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-26 14:07:56 +0200
commitade8f56dac158541c78fdb253af3f9a1a1c5ae27 (patch)
tree24930709320413a05fabeaa3281c1ac23d670ac6
parentrtemsbsd: Add reallocf to rtems_bsd_program. (diff)
downloadrtems-libbsd-ade8f56dac158541c78fdb253af3f9a1a1c5ae27.tar.bz2
devfs: Fix includes
-rw-r--r--rtemsbsd/sys/fs/devfs/devfs_devs.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c
index 10735f9b..a38bb4d2 100644
--- a/rtemsbsd/sys/fs/devfs/devfs_devs.c
+++ b/rtemsbsd/sys/fs/devfs/devfs_devs.c
@@ -31,17 +31,20 @@
#include <machine/rtems-bsd-kernel-space.h>
-#include <machine/pcpu.h>
-#include <rtems/imfs.h>
-#include <stdlib.h>
-#include <string.h>
+#include <sys/types.h>
+#include <sys/conf.h>
#include <sys/file.h>
#include <sys/malloc.h>
+#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <sys/conf.h>
#include <fs/devfs/devfs_int.h>
+#include <machine/pcpu.h>
+
+#include <rtems/imfs.h>
+
const char rtems_cdev_directory[] = RTEMS_CDEV_DIRECTORY;
static struct cdev *