dovecot-2.2: lib: Removed unnecessary includes from bits.h
dovecot at dovecot.org
dovecot at dovecot.org
Mon Nov 9 11:03:31 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/5d58bdcafc7d
changeset: 19345:5d58bdcafc7d
user: Timo Sirainen <tss at iki.fi>
date: Mon Nov 09 13:02:56 2015 +0200
description:
lib: Removed unnecessary includes from bits.h
All of them are already in lib.h, and bits.h gets included from lib.h.
This also solves a compiling problem for systems where stdint.h doesn't
exist.
diffstat:
src/lib/bits.h | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diffs (21 lines):
diff -r f5e997d20461 -r 5d58bdcafc7d src/lib/bits.h
--- a/src/lib/bits.h Mon Nov 09 09:31:48 2015 +0200
+++ b/src/lib/bits.h Mon Nov 09 13:02:56 2015 +0200
@@ -1,17 +1,6 @@
#ifndef BITS_H
#define BITS_H
-/* default lib includes */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "macros.h"
-
-#include <limits.h>
-#include <stddef.h>
-#include <stdint.h>
-
#define UINT64_SUM_OVERFLOWS(a, b) \
(a > (uint64_t)-1 - b)
More information about the dovecot-cvs
mailing list