Explorar el Código

fixing an unknown issue

Stasik0 hace 10 años
padre
commit
dae4456335
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/ua_types_encoding_binary.c

+ 2 - 2
src/ua_types_encoding_binary.c

@@ -1,8 +1,8 @@
-#include <string.h>
 #ifndef WIN32
-#define __USE_BSD
+#define _BSD_SOURCE
 #include <endian.h>
 #endif
+#include <string.h>
 #include "ua_types_encoding_binary.h"
 #include "ua_util.h"
 #include "ua_statuscodes.h"