From 2eeac1b51b85f7b2ab3d61c4aae76428f1309909 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 7 Mar 2018 06:59:53 +0100 Subject: [PATCH] Deduplicate includes Change-Id: I16a77d0701b42bcf9d751834f0eae4decedd9176 Reviewed-on: https://gerrit.libreoffice.org/50858 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sal/osl/unx/file_volume.cxx | 2 -- soltools/mkdepend/def.h | 1 - 2 files changed, 3 deletions(-) diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx index d6c7f76442e9..7125580f7fe9 100644 --- a/sal/osl/unx/file_volume.cxx +++ b/sal/osl/unx/file_volume.cxx @@ -141,8 +141,6 @@ oslFileError osl_getVolumeInformation( rtl_uString* ustrDirectoryURL, oslVolumeI #if defined(NETBSD) -#include - # define OSL_detail_STATFS_STRUCT struct statvfs # define OSL_detail_STATFS(dir, sfs) statvfs((dir), (sfs)) # define OSL_detail_STATFS_ISREMOTE(a) (((a).f_flag & ST_LOCAL) == 0) diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h index 587cd1580c2c..009d32772d27 100644 --- a/soltools/mkdepend/def.h +++ b/soltools/mkdepend/def.h @@ -142,7 +142,6 @@ struct filepointer { }; #ifndef X_NOT_STDC_ENV -#include #if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */ char *malloc(), *realloc(); #endif /* macII */