aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/bptypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/bptypes.h')
-rw-r--r--libexec/bootpd/bptypes.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/bootpd/bptypes.h b/libexec/bootpd/bptypes.h
new file mode 100644
index 000000000000..3e5deaec8bd5
--- /dev/null
+++ b/libexec/bootpd/bptypes.h
@@ -0,0 +1,20 @@
+#ifndef BPTYPES_H
+#define BPTYPES_H
+
+#include <sys/types.h>
+
+/*
+ * 32 bit integers are different types on various architectures
+ */
+
+#define int32 int32_t
+#define u_int32 u_int32_t
+
+/*
+ * Nice typedefs. . .
+ */
+
+typedef int boolean;
+typedef unsigned char byte;
+
+#endif /* BPTYPES_H */