diff options
author | Chris Robinson <[email protected]> | 2018-11-26 23:18:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 23:18:51 -0800 |
commit | d7d99adc915583416dd8c70491ec7fc4ac71a543 (patch) | |
tree | 955ff03b8dac04a5674c302095281bb73552f206 /examples/common/alhelpers.h | |
parent | d06f76957c6ea2bf5311322e103946b45bde9796 (diff) |
Avoid including threads.h in the example helpers
Diffstat (limited to 'examples/common/alhelpers.h')
-rw-r--r-- | examples/common/alhelpers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/common/alhelpers.h b/examples/common/alhelpers.h index e3e638ac..14edf5d9 100644 --- a/examples/common/alhelpers.h +++ b/examples/common/alhelpers.h @@ -1,15 +1,15 @@ #ifndef ALHELPERS_H #define ALHELPERS_H +#include <time.h> + #include "AL/alc.h" #include "AL/al.h" #include "AL/alext.h" -#include "threads.h" - #ifdef __cplusplus extern "C" { -#endif /* __cplusplus */ +#endif /* Some helper functions to get the name from the format enums. */ const char *FormatName(ALenum type); @@ -30,7 +30,7 @@ int altimespec_get(struct timespec *ts, int base); void al_nssleep(unsigned long nsec); #ifdef __cplusplus -} -#endif /* __cplusplus */ +} // extern "C" +#endif #endif /* ALHELPERS_H */ |