summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 12:14:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 12:16:52 +0200
commit5085ae9923d5995e5f285dc54f45b38cf3d09698 (patch)
treef0b6ebc8ced116aa783a9a5c5d6d5b726fa6483c /system.h
parentf978dc78b4092f3dd05255a5cd3e33d786aba359 (diff)
downloadlibrpm-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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/system.h b/system.h
index bbdcb486e..8e9d744fe 100644
--- a/system.h
+++ b/system.h
@@ -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