[Lldb-commits] Fix gcc build

Dmitry Vyukov dvyukov at google.com
Thu Mar 1 00:31:07 PST 2012


Hi,

I would like to ask you to review and land the following patch.



Index: source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
===================================================================
--- source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp (revision
151625)
+++ source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp (working
copy)
@@ -9,6 +9,8 @@


 // C Includes
+#include <stddef.h>  // offsetof
+
 // C++ Includes
 // Other libraries and framework includes
 #include "lldb/Core/DataBufferHeap.h"
Index: source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
===================================================================
--- source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp (revision
151625)
+++ source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp (working
copy)
@@ -10,6 +10,7 @@

 // C Includes
 #include <stdarg.h>
+#include <stddef.h>  // offsetof

 // C++ Includes
 // Other libraries and framework includes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20120301/d660579b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: offsetof.patch
Type: application/octet-stream
Size: 932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20120301/d660579b/attachment.obj>


More information about the lldb-commits mailing list