Small fixes
diff --git a/BUILD.gn b/BUILD.gn
index a71a735..010d740 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -29,7 +29,10 @@
   # ]
   if (is_posix) {
     cflags_c = [ "-std=c99" ]
-    defines += [ "_XOPEN_SOURCE=700" ]
+    defines += [
+      "_BSD_SOURCE",  # Needed for broken uclibc headers.
+      "_XOPEN_SOURCE=700"
+    ]
   }
 }
 
@@ -56,6 +59,7 @@
   source_set("boringssl_asm") {
     visibility = [ ":*" ]  # Only targets in this file can depend on this.
 
+    asmflags = []
     defines = []
     sources = []
     include_dirs = [ "src/include" ]