src/platform_unix.h
author Edouard Tisserant
Fri, 21 Aug 2015 17:12:59 +0200
changeset 338 962f6656d2c8
parent 331 5ddf7c537b05
child 347 098632924bd2
permissions -rw-r--r--
Fixes for missing entries in android libc
     1 #define _POSIX_C_SOURCE 200809L
     2 
     3 #include <unistd.h>
     4 #include <strings.h>
     5 #include <sys/select.h>
     6 
     7 #ifdef __cplusplus
     8 extern "C" {
     9 #endif
    10 
    11 const char *unix_local_db(void);
    12 const char *gpg_conf(void);
    13 const char *gpg_home(void);
    14 
    15 #ifdef ANDROID
    16 char *stpcpy(char *dst, const char *src);
    17 long int random(void);
    18 #endif
    19 
    20 #ifdef __cplusplus
    21 }
    22 #endif