Fix C++ compilation warnings/errors under g++ 8.2.
[cumulus.git] / third_party / sha256.cc
index 9e249be..6180f7b 100644 (file)
@@ -27,7 +27,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 #include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>