Changeset 1482:034429b9ee51 in roaraudio


Ignore:
Timestamp:
03/30/09 23:49:45 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

include only the headers supported by the target, include in correct order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/roard.h

    r1198 r1482  
    2626#define _ROARD_H_ 
    2727 
     28// need to include this first as we need the config 
     29#include <roaraudio.h> 
     30 
     31 
     32#ifndef ROAR_TARGET_MICROCONTROLLER 
    2833#include <signal.h> 
     34#endif 
     35 
     36#ifdef ROAR_HAVE_SELECT 
    2937#include <sys/select.h> 
     38#endif 
     39 
     40#ifdef ROAR_HAVE_WAIT 
    3041#include <sys/wait.h> 
    31 #include <roaraudio.h> 
     42#endif 
     43 
     44#if !defined(ROAR_TARGET_WIN32) && !defined(ROAR_TARGET_MICROCONTROLLER) 
    3245#include <pwd.h> 
     46#endif 
     47 
     48#ifndef ROAR_TARGET_MICROCONTROLLER 
    3349#include <sys/time.h> 
    3450#include <time.h> 
     51#endif 
    3552 
    3653/* 
Note: See TracChangeset for help on using the changeset viewer.