Merge pull request #11661 from Alex-EEE/patch-1

mbed_rtc_time.h lacks an include guard
pull/11695/head
Martin Kojtal 2019-10-15 18:56:20 +08:00 committed by GitHub
commit 119e99f642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,9 @@
* limitations under the License.
*/
#ifndef __MBED_RTC_TIME_H__
#define __MBED_RTC_TIME_H__
#include <time.h>
#ifdef __cplusplus
@ -129,3 +132,5 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz);
/** @}*/
/** @}*/
#endif /* __MBED_RTC_TIME_H__ */