summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-01-31 13:07:10 +0100
committerSimon Josefsson <simon@josefsson.org>2008-01-31 13:07:10 +0100
commite163b2090bb0409f9b1bef68bc7f1b9b0aba2647 (patch)
tree684526beaf5b2f9862c4836165bb4229436f7c83 /lib
parent75c24d1956b3123592d1aa29fa13c26f237ffd91 (diff)
downloadlibtasn1-e163b2090bb0409f9b1bef68bc7f1b9b0aba2647.tar.gz
libtasn1-e163b2090bb0409f9b1bef68bc7f1b9b0aba2647.tar.bz2
libtasn1-e163b2090bb0409f9b1bef68bc7f1b9b0aba2647.zip
Use gnulib stdint module.
Diffstat (limited to 'lib')
-rw-r--r--lib/defines.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/defines.h b/lib/defines.h
index b4896fd..a459bc0 100644
--- a/lib/defines.h
+++ b/lib/defines.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 Free Software Foundation, Inc.
+ * Copyright (C) 2006, 2008 Free Software Foundation, Inc.
* Copyright (C) 2000,2001,2002,2005 Nikos Mavroyanopoulos
*
* This file is part of LIBTASN1.
@@ -31,6 +31,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
+#include <stdint.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
@@ -40,12 +41,4 @@
# include <sys/types.h>
#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
-#endif
-
#endif /* defines_h */