summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-12 22:00:35 +0200
committerDan McGee <dan@archlinux.org>2007-07-12 22:00:35 +0200
commitd402583c43a9d409531824573a6021a1965d8ee6 (patch)
tree1b59d22b5d4259fbc2154e182261100c17ab57e5
parentfd3a1a92c8ffe5230e40a027838442752a843da9 (diff)
downloadpacman-d402583c43a9d409531824573a6021a1965d8ee6.tar.gz
pacman-d402583c43a9d409531824573a6021a1965d8ee6.tar.xz
Remove some more conditional include stuff
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/be_files.c3
-rw-r--r--lib/libalpm/deps.c3
-rw-r--r--lib/libalpm/package.h2
-rw-r--r--lib/libalpm/trans.c3
4 files changed, 0 insertions, 11 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c
index 7db9b260..ea00563e 100644
--- a/lib/libalpm/be_files.c
+++ b/lib/libalpm/be_files.c
@@ -27,9 +27,6 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#ifdef __sun__
-#include <strings.h>
-#endif
#include <sys/stat.h>
#include <dirent.h>
#ifdef CYGWIN
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 003f26d4..1290a7ec 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -26,9 +26,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#ifdef __sun__
-#include <strings.h>
-#endif
/* libalpm */
#include "deps.h"
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index e8e8d37c..f704ab9c 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -25,9 +25,7 @@
#ifndef _ALPM_PACKAGE_H
#define _ALPM_PACKAGE_H
-#if defined(__APPLE__) || defined(__sun__)
#include <time.h>
-#endif
#include "alpm.h"
#include "db.h"
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 2078a5de..32dbc475 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -33,9 +33,6 @@
#include <sys/statvfs.h>
#include <unistd.h>
#include <errno.h>
-#ifndef __sun__
-#include <mntent.h>
-#endif
/* libalpm */
#include "trans.h"