title: Porting an C++ code application from Solaris to Linux and real time headers issues
body: <p>Please help, The tools that I am using are kdevelop and qt4. On my main.cpp have errors, for example;</p> 
  
  <p><Pre><code>
  Error: sys/procset.h: No such files or directory
  Error: sys/priocntl.h: No such files or directory
  Error: sys/tspriocntl.h: No such files or directory
  Error: sys/rtpriocntl.h: No such files or directory
  In function 'int main(int. char**)':
  Error: 'pcparms_t' was not declared in this scope
  Error: expected ';' before 'pcparms'
  Error: 'rtparms_t' was not declared in this scope
  Error: 'rtparmsp' was not declared in this scope
  Error: 'pcinfo_t' was not declared in this scope
  Error: expected ';' before 'pcinfo'
  Error: 'rtinfo_t' was not declared in this scope
  Error: 'rtinfop' was not declared in this scope
  warning: unused variable 'lret'
  warning: unused variable 'priority'
  ...
  ...
  ...
  <strong>*<em>Exited with Status:2 *</em></strong>
  </code></Pre></p>
  
  <p>
  I can't find real time those headers on my Centos 5 Linux.  Plus, I don't know the equivalence of those above headers for Linux.  I know I have to add an If statement for Solaris and Linux for the include headers, and I don't know which headers will be included on the if/else statement.
  </p>
  
  <p>  When I remove headers by comment them out the real time headers and function for realtime function for solaris, I get it to run.</p> 
  
  <p><Pre><code>
  //pcparms_t pcparms;
  //rtparms_t *rtparmsp;
  //pcinfo_t pcinfo;
  //rtinfo_t *rtinfop;
  </code></Pre></p>
  
  <p> My problem is what are the real time headers and functions for Linux or equivalent to Linux. My application code is a mix between c++ and qt4.  On the side of qt4 is their a need to use Real Time functions? On the c++ from Solaris do I need real time functions? If yes, where can I find them or what are they call and where do I place them? </p>