[Stgt-devel] [PATCH] missing endian header

Pete Wyckoff pw
Wed Dec 26 22:09:33 CET 2007


Add endian.h include to define __BYTE_ORDER.

Signed-off-by: Pete Wyckoff <pw at osc.edu>
---
 usr/util.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/usr/util.h b/usr/util.h
index c2f8f67..ac4b380 100644
--- a/usr/util.h
+++ b/usr/util.h
@@ -5,6 +5,7 @@
 #include <syscall.h>
 #include <unistd.h>
 #include <errno.h>
+#include <endian.h>
 
 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-- 
1.5.3.6




More information about the stgt mailing list