Skip to content

Commit

Permalink
CELIX-387: Adds pthread.h include in bunlde_archive.c to try to remov…
Browse files Browse the repository at this point in the history
…e compile error in travis for mac osx
  • Loading branch information
pnoltes committed Jan 12, 2017
1 parent 147e8bf commit bd0e89e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions framework/private/src/bundle_archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
#include <string.h>
#include <time.h>
#include <sys/stat.h>

#ifdef __APPLE__
//FIXME: compiling using travix and max osx is giving compile error for unknown type name '__darwin_pthread_mutex_t'
//including pthread.h to remove compile error
#include <pthread.h>
#endif

#include <dirent.h>
#include <unistd.h>

Expand Down

0 comments on commit bd0e89e

Please sign in to comment.