Why was this causing a problem? The only headers that were re-ordered are system headers. Does FreeBSD's libraries have requirements about certain headers being included before other headers?
On Tue, Sep 6, 2016 at 2:33 PM Ed Maste via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: emaste > Date: Tue Sep 6 16:25:31 2016 > New Revision: 280755 > > URL: http://llvm.org/viewvc/llvm-project?rev=280755&view=rev > Log: > Reorder FreeBSD Host.cpp #includes to fix build > > Modified: > lldb/trunk/source/Host/freebsd/Host.cpp > > Modified: lldb/trunk/source/Host/freebsd/Host.cpp > URL: > http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/freebsd/Host.cpp?rev=280755&r1=280754&r2=280755&view=diff > > ============================================================================== > --- lldb/trunk/source/Host/freebsd/Host.cpp (original) > +++ lldb/trunk/source/Host/freebsd/Host.cpp Tue Sep 6 16:25:31 2016 > @@ -9,17 +9,19 @@ > > > //===----------------------------------------------------------------------===// > > // C Includes > -#include <dlfcn.h> > -#include <execinfo.h> > -#include <stdio.h> > +#include <sys/types.h> > + > +#include <sys/exec.h> > #include <sys/proc.h> > +#include <sys/ptrace.h> > #include <sys/sysctl.h> > -#include <sys/types.h> > #include <sys/user.h> > > #include <machine/elf.h> > -#include <sys/exec.h> > -#include <sys/ptrace.h> > + > +#include <dlfcn.h> > +#include <execinfo.h> > +#include <stdio.h> > > // C++ Includes > // Other libraries and framework includes > > > _______________________________________________ > lldb-commits mailing list > lldb-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits