summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-03-12 23:07:37 +0000
committerYour Name <you@example.com>2021-03-12 23:07:37 +0000
commit3f711218927664c3530168a84f9f0747518275ee (patch)
tree6f6d248c405e6ff34a61cc9b7d58052f290c2ea6 /src
parent8aff654b1ed78b96132e9abeaf7b17a887a3a6ef (diff)
downloadcracklib-3f711218927664c3530168a84f9f0747518275ee.tar.gz
Do not depend on config.h in public header
This is patch from Fedora. https://src.fedoraproject.org/rpms/cracklib/blob/rawhide/f/cracklib-2.9.1-inttypes.patch
Diffstat (limited to 'src')
-rw-r--r--src/lib/packer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/packer.h b/src/lib/packer.h
index fb831cb..022de5a 100644
--- a/src/lib/packer.h
+++ b/src/lib/packer.h
@@ -30,17 +30,7 @@
#define _(String) (String)
#endif
-#if defined(HAVE_INTTYPES_H)
-#include <inttypes.h>
-#else
-#if defined(HAVE_STDINT_H)
#include <stdint.h>
-#else
-typedef unsigned int uint32_t;
-typedef unsigned short uint16_t;
-#endif
-#endif
-
struct pi_header
{