Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Commit

Permalink
Fix Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jun 5, 2018
1 parent 8b12c43 commit 240c96d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/egif_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ two modules will be linked. Preserve this property!
*****************************************************************************/

// https://stackoverflow.com/a/39858955
#if defined(__ANDROID__)
# define __USE_GNU
#endif

#include <unistd.h>
#include <stdint.h>
#include <stdlib.h>
Expand Down

0 comments on commit 240c96d

Please sign in to comment.