[rtems-libbsd commit] devfs: Fix includes
Sebastian Huber
sebh at rtems.org
Wed Oct 26 12:14:41 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: ade8f56dac158541c78fdb253af3f9a1a1c5ae27
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=ade8f56dac158541c78fdb253af3f9a1a1c5ae27
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 26 14:04:36 2016 +0200
devfs: Fix includes
---
rtemsbsd/sys/fs/devfs/devfs_devs.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/rtemsbsd/sys/fs/devfs/devfs_devs.c b/rtemsbsd/sys/fs/devfs/devfs_devs.c
index 10735f9..a38bb4d 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 *
More information about the vc
mailing list