fix uuid.h include for Android keysync
authorHussein Kasem <huss@pep-project.org>
Thu, 25 Aug 2016 13:56:15 +0200
branchkeysync
changeset 10844e7571cf39ba
parent 1083 559154e4a144
child 1085 9db2d7650ddc
fix uuid.h include for Android
src/platform_unix.h
     1.1 --- a/src/platform_unix.h	Thu Aug 25 10:21:35 2016 +0200
     1.2 +++ b/src/platform_unix.h	Thu Aug 25 13:56:15 2016 +0200
     1.3 @@ -6,7 +6,13 @@
     1.4  #include <strings.h>
     1.5  #include <sys/select.h>
     1.6  #include <regex.h>
     1.7 +
     1.8 +#ifndef ANDROID
     1.9  #include <uuid/uuid.h>
    1.10 +#else
    1.11 +#include <linux/uuid.h>
    1.12 +#endif
    1.13 +
    1.14  
    1.15  #ifdef __cplusplus
    1.16  extern "C" {