make it so clang can build wpilib

Clang intentionally implements something different than the standard
because the standard is weird (I agree). See
<http://llvm.org/bugs/show_bug.cgi?id=6840> and
<http://stackoverflow.com/questions/3584385/friend-access-to-protected-nested-class#answer-3585613>
for details.

Change-Id: Iabc5f3f50bb7023184e1092f5210ec27fcd191da
diff --git a/aos/externals/allwpilib/wpilibc/wpilibC++/include/SensorBase.h b/aos/externals/allwpilib/wpilibc/wpilibC++/include/SensorBase.h
index a629e18..65e16ec 100644
--- a/aos/externals/allwpilib/wpilibc/wpilibC++/include/SensorBase.h
+++ b/aos/externals/allwpilib/wpilibc/wpilibC++/include/SensorBase.h
@@ -9,6 +9,8 @@
 #include <stdio.h>
 #include "Base.h"
 
+class DigitalGlitchFilter;
+
 /**
  * Base class for all sensors.
  * Stores most recent status information as well as containing utility functions for checking
@@ -56,4 +58,6 @@
 	DISALLOW_COPY_AND_ASSIGN(SensorBase);
 	static SensorBase *m_singletonList;
 	SensorBase *m_nextSingleton;
+
+  friend class DigitalGlitchFilter;
 };