[rtems commit] Include missing <sys/types.h>

Sebastian Huber sebh at rtems.org
Mon Nov 12 14:37:45 UTC 2018


Module:    rtems
Branch:    master
Commit:    93fae332a9b6d824bbfe62bea77364e40c3af372
Changeset: http://git.rtems.org/rtems/commit/?id=93fae332a9b6d824bbfe62bea77364e40c3af372

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov 12 09:33:04 2018 +0100

Include missing <sys/types.h>

Update #3598.

---

 bsps/arm/csb336/net/lan91c11x.c       | 1 +
 bsps/i386/shared/irq/elcr.h           | 2 +-
 bsps/m68k/gen68340/include/m340uart.h | 2 ++
 cpukit/include/rtems/media.h          | 5 +++--
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/bsps/arm/csb336/net/lan91c11x.c b/bsps/arm/csb336/net/lan91c11x.c
index e1c4fcc..59bacc9 100644
--- a/bsps/arm/csb336/net/lan91c11x.c
+++ b/bsps/arm/csb336/net/lan91c11x.c
@@ -19,6 +19,7 @@
 
 #include <machine/rtems-bsd-kernel-space.h>
 
+#include <sys/types.h>
 #include <rtems.h>
 #include "lan91c11x.h"
 
diff --git a/bsps/i386/shared/irq/elcr.h b/bsps/i386/shared/irq/elcr.h
index a006d4f..d0c8b6c 100644
--- a/bsps/i386/shared/irq/elcr.h
+++ b/bsps/i386/shared/irq/elcr.h
@@ -7,7 +7,7 @@
 #ifndef _IRQ_ELCR_H_
 #define _IRQ_ELCR_H_
 
-#include <sys/cdefs.h>
+#include <sys/types.h>
 
 enum intr_trigger {
   INTR_TRIGGER_EDGE,
diff --git a/bsps/m68k/gen68340/include/m340uart.h b/bsps/m68k/gen68340/include/m340uart.h
index 619a732..624856a 100644
--- a/bsps/m68k/gen68340/include/m340uart.h
+++ b/bsps/m68k/gen68340/include/m340uart.h
@@ -31,6 +31,8 @@
 #ifndef __m340uart_H__
 #define __m340uart_H__
 
+#include <sys/types.h>
+
 /* UART initialisation */
 #define UART_CHANNEL_A			0
 #define UART_CHANNEL_B			1
diff --git a/cpukit/include/rtems/media.h b/cpukit/include/rtems/media.h
index a9420b0..0fbc564 100644
--- a/cpukit/include/rtems/media.h
+++ b/cpukit/include/rtems/media.h
@@ -7,10 +7,10 @@
  */
 
 /*
- * Copyright (c) 2009, 2010 embedded brains GmbH.  All rights reserved.
+ * Copyright (c) 2009, 2018 embedded brains GmbH.  All rights reserved.
  *
  *  embedded brains GmbH
- *  Obere Lagerstr. 30
+ *  Dornierstr. 4
  *  82178 Puchheim
  *  Germany
  *  <rtems at embedded-brains.de>
@@ -23,6 +23,7 @@
 #ifndef RTEMS_MEDIA_H
 #define RTEMS_MEDIA_H
 
+#include <sys/types.h>
 #include <rtems.h>
 
 #ifdef __cplusplus




More information about the vc mailing list