[sheepdog] [PATCH v2 1/3] sheep: built-in two std headers for util.h

Liu Yuan namei.unix at gmail.com
Tue Jul 10 08:23:00 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

Without, we have to include these two headers every time in source file to avoid
compile error.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 include/util.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/util.h b/include/util.h
index d583a2f..fcd59db 100644
--- a/include/util.h
+++ b/include/util.h
@@ -1,6 +1,8 @@
 #ifndef __UTIL_H__
 #define __UTIL_H__
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 #include <stdint.h>
-- 
1.7.10.2




More information about the sheepdog mailing list