aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-02-18 16:47:35 -1000
committerDavid Sidrane <david_s5@nscdg.com>2015-04-07 07:49:06 -1000
commitd3e2787dead79de2471ff50ada19e1ae2fee7065 (patch)
tree31c22622febc31de44ec7f4dc77e81427965d0d1
parent4697bfbac191c1cfe2e76b0e182433f2fc02cd18 (diff)
downloadpx4-firmware-d3e2787dead79de2471ff50ada19e1ae2fee7065.tar.gz
px4-firmware-d3e2787dead79de2471ff50ada19e1ae2fee7065.tar.bz2
px4-firmware-d3e2787dead79de2471ff50ada19e1ae2fee7065.zip
Interim fix for timeval being incorrectly defined in cxx/ctime
-rw-r--r--nuttx-patches/ctime.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx-patches/ctime.patch b/nuttx-patches/ctime.patch
new file mode 100644
index 000000000..4d8b1fd0f
--- /dev/null
+++ b/nuttx-patches/ctime.patch
@@ -0,0 +1,12 @@
+diff --git NuttX/nuttx/include/cxx/ctime NuttX/nuttx/include/cxx/ctime
+index 3d3dfae..18fdded 100644
+--- NuttX/nuttx/include/cxx/ctime
++++ NuttX/nuttx/include/cxx/ctime
+@@ -53,7 +53,6 @@ namespace std
+ using ::clockid_t;
+ using ::timer_t;
+ using ::timespec;
+- using ::timeval;
+ using ::tm;
+ using ::itimerspec;
+ using ::sigevent;