[Xenomai-git] Jan Kiszka : Fix stand-alone inclusion of API headers

2014-02-06 Thread git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: 0740596072270a204371f8968720a1cc90ec
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=0740596072270a204371f8968720a1cc90ec

Author: Jan Kiszka jan.kis...@siemens.com
Date:   Wed Feb  5 18:19:06 2014 +0100

Fix stand-alone inclusion of API headers

Found by including each of them without any other header, using --cflags
as provided by xeno-config.

Signed-off-by: Jan Kiszka jan.kis...@siemens.com

---

 include/analogy/command.h  |1 +
 include/cobalt/syslog.h|1 +
 include/vxworks/taskInfo.h |1 +
 3 files changed, 3 insertions(+)

diff --git a/include/analogy/command.h b/include/analogy/command.h
index d80842d..57eed7f 100644
--- a/include/analogy/command.h
+++ b/include/analogy/command.h
@@ -24,6 +24,7 @@
 #define __ANALOGY_CMD__
 
 #include analogy/context.h
+#include analogy/types.h
 
 /*!
  * @addtogroup async1_lib
diff --git a/include/cobalt/syslog.h b/include/cobalt/syslog.h
index 7f7d2c9..236c8a2 100644
--- a/include/cobalt/syslog.h
+++ b/include/cobalt/syslog.h
@@ -21,6 +21,7 @@
 #ifndef _COBALT_SYSLOG_H
 #define _COBALT_SYSLOG_H
 
+#include stdarg.h
 #include xeno_config.h
 #include cobalt/wrappers.h
 
diff --git a/include/vxworks/taskInfo.h b/include/vxworks/taskInfo.h
index 93a4571..0416efc 100644
--- a/include/vxworks/taskInfo.h
+++ b/include/vxworks/taskInfo.h
@@ -25,6 +25,7 @@
 #define _XENOMAI_VXWORKS_TASKINFO_H
 
 #include vxworks/types.h
+#include vxworks/taskLib.h
 
 typedef struct TASK_DESC {
TASK_ID td_tid;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Jan Kiszka : Fix stand-alone inclusion of API headers

2014-02-05 Thread git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: 041d7957603c9dc74263ef0137b7c92f41eab700
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=041d7957603c9dc74263ef0137b7c92f41eab700

Author: Jan Kiszka jan.kis...@siemens.com
Date:   Wed Feb  5 18:19:06 2014 +0100

Fix stand-alone inclusion of API headers

Found by including each of them without any other header, using --cflags
as provided by xeno-config.

Signed-off-by: Jan Kiszka jan.kis...@siemens.com

---

 include/analogy/command.h  |1 +
 include/cobalt/syslog.h|1 +
 include/vxworks/taskInfo.h |1 +
 3 files changed, 3 insertions(+)

diff --git a/include/analogy/command.h b/include/analogy/command.h
index d80842d..57eed7f 100644
--- a/include/analogy/command.h
+++ b/include/analogy/command.h
@@ -24,6 +24,7 @@
 #define __ANALOGY_CMD__
 
 #include analogy/context.h
+#include analogy/types.h
 
 /*!
  * @addtogroup async1_lib
diff --git a/include/cobalt/syslog.h b/include/cobalt/syslog.h
index 7f7d2c9..236c8a2 100644
--- a/include/cobalt/syslog.h
+++ b/include/cobalt/syslog.h
@@ -21,6 +21,7 @@
 #ifndef _COBALT_SYSLOG_H
 #define _COBALT_SYSLOG_H
 
+#include stdarg.h
 #include xeno_config.h
 #include cobalt/wrappers.h
 
diff --git a/include/vxworks/taskInfo.h b/include/vxworks/taskInfo.h
index 93a4571..0416efc 100644
--- a/include/vxworks/taskInfo.h
+++ b/include/vxworks/taskInfo.h
@@ -25,6 +25,7 @@
 #define _XENOMAI_VXWORKS_TASKINFO_H
 
 #include vxworks/types.h
+#include vxworks/taskLib.h
 
 typedef struct TASK_DESC {
TASK_ID td_tid;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git