Skip to content

Commit 913ced7

Browse files
committed
[restructure] Fixed small include error due to indirect dependency
previous dependencies FileBase.h -> PlatformMutex.h -> mbed_platform.h SingletonPtr.h -> PlatformMutex.h -> mbed_platform.h -> stddef.h now FileBase.h -> mbed_platform.h SingletonPtr.h -> stddef.h
1 parent 2df8089 commit 913ced7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drivers/FileBase.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ typedef long off_t;
4040
# include <sys/syslimits.h>
4141
#endif
4242

43-
#include "PlatformMutex.h"
44-
#include "SingletonPtr.h"
45-
#include "PlatformMutex.h"
43+
#include "mbed_platform.h"
4644

4745
namespace mbed {
4846

platform/SingletonPtr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define SINGLETONPTR_H
1818

1919
#include <stdint.h>
20+
#include <stddef.h>
2021
#include <new>
2122
#include "mbed_assert.h"
2223
#ifdef MBED_CONF_RTOS_PRESENT

0 commit comments

Comments
 (0)