]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Removed unnecessary includes from bits.h
authorTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2015 11:02:56 +0000 (13:02 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2015 11:02:56 +0000 (13:02 +0200)
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.

src/lib/bits.h

index 62995f7ad5d63e76f7cab6680dfae62689aa85ed..0ff6dd3915031989835a2aa678f7f0f235bec173 100644 (file)
@@ -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)