aboutsummaryrefslogtreecommitdiffstats
path: root/lib/plp_inttypes.h
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-12-14 00:06:45 +0000
committerReuben Thomas <rrt@sc3d.org>2007-12-14 00:06:45 +0000
commite0679bb50a67fb96f6f0b43778e893971e1139f9 (patch)
tree20c14ab453fc4edaf6b50514c41f3bfcaa35f349 /lib/plp_inttypes.h
parentb310b88c869ac1818eb4720574fee94a99841963 (diff)
downloadplptools-e0679bb50a67fb96f6f0b43778e893971e1139f9.tar.gz
plptools-e0679bb50a67fb96f6f0b43778e893971e1139f9.tar.bz2
plptools-e0679bb50a67fb96f6f0b43778e893971e1139f9.zip
Move last header plp_inttypes.h out of include and into lib.
Remove RCS Ids from Makefile.am's so that checking in a Makefile.am doesn't cause automake to be run.
Diffstat (limited to 'lib/plp_inttypes.h')
-rw-r--r--lib/plp_inttypes.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/plp_inttypes.h b/lib/plp_inttypes.h
new file mode 100644
index 0000000..acfa7b8
--- /dev/null
+++ b/lib/plp_inttypes.h
@@ -0,0 +1,26 @@
+#ifndef _INTTYPES_H_
+#define _INTTYPES_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <sys/types.h>
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
+#ifdef HAVE_SYS_INT_TYPES_H
+#include <sys/int_types.h>
+#endif
+
+#ifndef GNU_INTTYPES
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+typedef uint32_t u_int32_t;
+typedef uint64_t u_int64_t;
+typedef int64_t s_int64_t;
+#endif // GNU_INTTYPES
+
+#endif // _INTTYPES_H_