aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
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')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/plp_inttypes.h26
2 files changed, 26 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index af857cd..35cbb46 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,5 +1,3 @@
-# $Id$
-#
INCLUDES = -I$(top_srcdir)/intl
AM_CFLAGS = $(THREADED_CFLAGS)
AM_CXXFLAGS = $(THREADED_CXXFLAGS)
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_