diff --git a/dap-sdk/core/src/dap_common.c b/dap-sdk/core/src/dap_common.c index d3104ded6ec8f32d597a85ec3a2efb7e47b21ab1..be8d1ccf87ac487333c838eaad43db5fdd57e69c 100755 --- a/dap-sdk/core/src/dap_common.c +++ b/dap-sdk/core/src/dap_common.c @@ -21,6 +21,7 @@ You should have received a copy of the GNU General Public License along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. */ +#define _POSIX_THREAD_SAFE_FUNCTIONS #include <stdio.h> #include <stdlib.h> #include <time.h> /* 'nanosleep' */