[rtems-schedsim commit] schedsim/shell/schedsim_priority/Makefile.am: Add POSIX includes

Joel Sherrill joel at rtems.org
Wed May 1 16:05:22 UTC 2013


Module:    rtems-schedsim
Branch:    master
Commit:    2c73384b2e09f47c562d00ee2618eaebd9fe8430
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=2c73384b2e09f47c562d00ee2618eaebd9fe8430

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed May  1 11:07:47 2013 -0500

schedsim/shell/schedsim_priority/Makefile.am: Add POSIX includes

---

 schedsim/shell/schedsim_priority/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/schedsim/shell/schedsim_priority/Makefile.am b/schedsim/shell/schedsim_priority/Makefile.am
index 8cf0e86..32febc6 100644
--- a/schedsim/shell/schedsim_priority/Makefile.am
+++ b/schedsim/shell/schedsim_priority/Makefile.am
@@ -21,6 +21,10 @@ schedsim_priority_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
 schedsim_priority_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
 schedsim_priority_CPPFLAGS += -I$(srcdir)/../shared/include
 schedsim_priority_CPPFLAGS += -I$(srcdir)/../shared
+if HAS_PTHREADS
+schedsim_priority_CPPFLAGS += -I$(cpukitdir)/posix/include
+schedsim_priority_CPPFLAGS += -I$(cpukitdir)/posix/inline
+endif
 
 schedsim_priority_LDFLAGS =-Wl,--wrap=_Thread_Dispatch
 ## schedsim_priorityLDADD +=-Wl,--start-group




More information about the vc mailing list