diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 12:14:37 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 12:16:52 +0200 |
commit | 5085ae9923d5995e5f285dc54f45b38cf3d09698 (patch) | |
tree | f0b6ebc8ced116aa783a9a5c5d6d5b726fa6483c /system.h | |
parent | f978dc78b4092f3dd05255a5cd3e33d786aba359 (diff) | |
download | librpm-tizen-5085ae9923d5995e5f285dc54f45b38cf3d09698.tar.gz librpm-tizen-5085ae9923d5995e5f285dc54f45b38cf3d09698.tar.bz2 librpm-tizen-5085ae9923d5995e5f285dc54f45b38cf3d09698.zip |
Move sys/mman.h include out of system.h to the places that care
- just two places where needed, dont pollute system.h needlessly
- include depending on HAVE_MMAP instead of separately checking for
sys/mman.h, if sys/mman.h doesn't exist or is broken HAVE_MMAP wont be set
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -97,10 +97,6 @@ char *getenv (const char *name); #include <ctype.h> -#if HAVE_SYS_MMAN_H -#include <sys/mman.h> -#endif - #if HAVE_SYS_WAIT_H #include <sys/wait.h> #endif |