Index: chrome/browser/ui/libgtk2ui/gtk2_ui.cc |
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc |
index ed47e26ceb3230266538aa64a7f83c69eaea712f..89e7eeff4d7ad68f4454cfb8a90ba79eeef4ddec 100644 |
--- a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc |
+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc |
@@ -64,6 +64,13 @@ |
// - Render and inject the omnibox background. |
// - Make sure to test with a light on dark theme, too. |
+// Work around a header bug: |
+// linux/debian_wheezy_i386-sysroot/usr/include/linux/stddef.h redefines NULL |
+// to 0, which breaks -Wsentinel. Get back the normal definition of NULL. |
+// TODO(thakis): Remove this once we update sysroots. |
+#define __need_NULL |
+#include <stddef.h> |
+ |
namespace libgtk2ui { |
namespace { |