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
vb@130
     1
#define _POSIX_C_SOURCE 200809L
vb@130
     2
vb@130
     3
#include <unistd.h>
vb@130
     4
#include <strings.h>
vb@130
     5
#include <sys/select.h>
vb@130
     6
vb@130
     7
#ifdef __cplusplus
vb@130
     8
extern "C" {
vb@130
     9
#endif
vb@130
    10
vb@1
    11
const char *unix_local_db(void);
vb@1
    12
const char *gpg_conf(void);
Edouard@175
    13
const char *gpg_home(void);
vb@130
    14
Edouard@338
    15
#ifdef ANDROID
Edouard@338
    16
char *stpcpy(char *dst, const char *src);
Edouard@338
    17
long int random(void);
Edouard@338
    18
#endif
Edouard@338
    19
vb@130
    20
#ifdef __cplusplus
vb@130
    21
}
vb@130
    22
#endif