[Libreoffice-commits] core.git: sal/osl soltools/mkdepend

Mike Kaganski mike.kaganski at collabora.com
Wed Mar 7 09:42:33 UTC 2018


 sal/osl/unx/file_volume.cxx |    2 --
 soltools/mkdepend/def.h     |    1 -
 2 files changed, 3 deletions(-)

New commits:
commit 2eeac1b51b85f7b2ab3d61c4aae76428f1309909
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Wed Mar 7 06:59:53 2018 +0100

    Deduplicate includes
    
    Change-Id: I16a77d0701b42bcf9d751834f0eae4decedd9176
    Reviewed-on: https://gerrit.libreoffice.org/50858
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

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 <sys/param.h>
-
 #   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 <stdlib.h>
 #if defined(macII) && !defined(__STDC__)  /* stdlib.h fails to define these */
 char *malloc(), *realloc();
 #endif /* macII */


More information about the Libreoffice-commits mailing list