diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2024-07-18 22:48:41 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2024-07-19 15:48:30 +0200 |
commit | bd8430f3399202bc88cc8abe0285f9517ab2cc28 (patch) | |
tree | 65be03567636374bf1c1b7ab617863df369216c0 /src/ipcpd/ipcp.c | |
parent | d14b633ea1337d56c6b0420cfdca21681cedaf50 (diff) | |
download | ouroboros-bd8430f3399202bc88cc8abe0285f9517ab2cc28.tar.gz ouroboros-bd8430f3399202bc88cc8abe0285f9517ab2cc28.zip |
ipcpd: Fix build on OSX
Macro was missing for CLOCK_REALTIME_COARSE, which does not exist on
OS X, and the preprocessor macro for the ipcpd-eth had an #endif
misplaced which was exposing an otherwise unknown label.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r-- | src/ipcpd/ipcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 966c4920..c2678fc8 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -64,6 +64,10 @@ #endif #endif +#ifndef CLOCK_REALTIME_COARSE +#define CLOCK_REALTIME_COARSE CLOCK_REALTIME +#endif + char * info[LAYER_NAME_SIZE + 1] = { "_state", "_type", |