<div dir="ltr">Hi<div><br></div><div>This likely fails on other platforms since it is a mismatched brace:</div><div><br></div><div><div>../../ntpd/ntp_config.c: In function ‘config_peers’:</div><div>../../ntpd/ntp_config.c:3207: error: ‘else’ without a previous ‘if’</div><div>../../ntpd/ntp_config.c: At top level:</div><div>../../ntpd/ntp_config.c:3252: error: expected identifier or ‘(’ before ‘}’ token</div><div><br></div></div><div>The fix appears to be pretty simple. The ifdef and { are swapped</div><div><br></div><div><div>$ git diff</div><div>diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c</div><div>index cf2a6f5..d0eeb26 100644</div><div>--- a/ntpd/ntp_config.c</div><div>+++ b/ntpd/ntp_config.c</div><div>@@ -3169,8 +3169,8 @@ config_peers(</div><div>                                        curr_peer->ttl,</div><div>                                        curr_peer->peerkey);</div><div>                                if (ISREFCLOCKADR(&peeraddr))</div><div>-#ifdef REFCLOCK</div><div>                                {</div><div>+#ifdef REFCLOCK</div><div>                                        uint8_t clktype;</div><div>                                        int unit;</div><div>                                        /*</div></div><div><br></div><div><br></div></div>