summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/bptypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/bptypes.h')
-rw-r--r--libexec/bootpd/bptypes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libexec/bootpd/bptypes.h b/libexec/bootpd/bptypes.h
new file mode 100644
index 0000000..537da4e
--- /dev/null
+++ b/libexec/bootpd/bptypes.h
@@ -0,0 +1,23 @@
+/* bptypes.h */
+
+#ifndef BPTYPES_H
+#define BPTYPES_H
+
+/*
+ * 32 bit integers are different types on various architectures
+ */
+
+#ifndef int32
+#define int32 long
+#endif
+typedef unsigned int32 u_int32;
+
+/*
+ * Nice typedefs. . .
+ */
+
+typedef int boolean;
+typedef unsigned char byte;
+
+
+#endif /* BPTYPES_H */
OpenPOWER on IntegriCloud