Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | diff -u -r ../procps-ng-3.3.9/pmap.c ./pmap.c |
2 | --- ../procps-ng-3.3.9/pmap.c 2013-09-11 13:53:35.000000000 +0200 | |
3 | +++ ./pmap.c 2014-07-06 07:58:12.054894441 +0200 | |
4 | @@ -25,7 +25,9 @@ | |
5 | #include <stdlib.h> | |
6 | #include <string.h> | |
7 | #include <sys/ipc.h> | |
8 | +#ifndef __ANDROID__ | |
9 | #include <sys/shm.h> | |
10 | +#endif | |
11 | #include <sys/stat.h> | |
12 | #include <sys/types.h> | |
13 | #include <unistd.h> | |
14 | @@ -149,6 +151,7 @@ | |
15 | ||
16 | static void discover_shm_minor(void) | |
17 | { | |
18 | +#ifndef __ANDROID__ | |
19 | void *addr; | |
20 | int shmid; | |
21 | char mapbuf_b[256]; | |
22 | @@ -205,6 +208,7 @@ | |
23 | perror(_("shared memory remove")); | |
24 | ||
25 | return; | |
26 | +#endif | |
27 | } | |
28 | ||
29 | static char *mapping_name(proc_t * p, unsigned KLONG addr, |