]> granicus.if.org Git - neomutt/commitdiff
inttypes.h includes stdint.h
authorRichard Russon <rich@flatcap.org>
Mon, 1 May 2017 02:29:35 +0000 (03:29 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 2 May 2017 16:34:43 +0000 (17:34 +0100)
<inttypes.h> is part of posix:2001
It includes <stdint.h>

crypthash.h
md5.h
protos.h

index 8e1ac3bd3b6ab795ee6e3eea369a50f4e7f20c23..0cd2a3acc8180ed09aaa07479b098b9f54a7325e 100644 (file)
 #ifndef _MUTT_CRYPTHASH_H
 #define _MUTT_CRYPTHASH_H 1
 
-
 #include <sys/types.h>
-#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
-#else
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-#endif
 
 /* POINTER defines a generic pointer type */
 typedef unsigned char *POINTER;
diff --git a/md5.h b/md5.h
index 57fe7081d5a64691abea34a840f65d6876109bad..e17246155af5237d55b26b3eee4ca091e953e549 100644 (file)
--- a/md5.h
+++ b/md5.h
 #define _MUTT_MD5_H 1
 
 #include <stdio.h>
-#include <sys/types.h>
-#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
-#endif
-#if defined(HAVE_STDINT_H) || defined(_LIBC)
-#include <stdint.h>
-#endif
+#include <sys/types.h>
 
 #ifndef __GNUC_PREREQ
 #if defined(__GNUC__) && defined(__GNUC_MINOR__)
index 1ba7f1d55bc419634f17b831819a378754505372..4a3d976cdb37ec7a0c313fd03c1b158a3ee9aa25 100644 (file)
--- a/protos.h
+++ b/protos.h
 #ifndef _MUTT_PROTOS_H
 #define _MUTT_PROTOS_H 1
 
-#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
-#endif
-
 #include "mbyte.h"
 
 #define MoreArgs(p) (*p->dptr && *p->dptr != ';' && *p->dptr != '#')