From 7c7fa51f97fd1eb357cb45d96e2199a7f62546a5 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Sat, 13 Oct 2012 03:26:25 +0000 Subject: [PATCH] add __RT_SERVICE_H__ definition git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2347 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- include/rtservice.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/rtservice.h b/include/rtservice.h index 31adc54a73..26ee8e0a8a 100644 --- a/include/rtservice.h +++ b/include/rtservice.h @@ -15,6 +15,9 @@ * 2012-03-22 Bernard rename kservice.h to rtservice.h */ +#ifndef __RT_SERVICE_H__ +#define __RT_SERVICE_H__ + #ifdef __cplusplus extern "C" { #endif @@ -105,3 +108,5 @@ rt_inline int rt_list_isempty(const rt_list_t *l) #ifdef __cplusplus } #endif + +#endif