[sheepdog] [PATCH 1/3] util: built-in two std headers
Liu Yuan
namei.unix at gmail.com
Sun Jul 8 07:02:37 CEST 2012
From: Liu Yuan <tailai.ly at taobao.com>
Without, we have to include these two headers every time in source file
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