bsd
diff --git a/include/u.h b/include/u.h
index c3f0081..466f3ea 100644
--- a/include/u.h
+++ b/include/u.h
@@ -154,6 +154,7 @@
  * Gcc is too smart for its own good.
  */
 #if defined(__GNUC__)
+#	undef strcmp	/* causes way too many warnings */
 #	if __GNUC__ >= 4 || (__GNUC__==3 && !defined(__APPLE_CC__))
 #		undef AUTOLIB
 #		define AUTOLIB(x) int __p9l_autolib_ ## x __attribute__ ((weak));