Avoid including threads.h in the example helpers
This commit is contained in:
parent
d06f76957c
commit
d7d99adc91
@ -27,6 +27,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "AL/al.h"
|
||||
|
@ -29,6 +29,7 @@
|
||||
* channel configs and sample types. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "AL/al.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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user