[cfe-commits] r84207 - /cfe/trunk/tools/CIndex/CIndex.cpp

steve naroff snaroff at apple.com
Fri Oct 16 11:12:57 PDT 2009


On Oct 16, 2009, at 12:47 PM, Chris Lattner wrote:

>
> On Oct 15, 2009, at 3:10 PM, Ted Kremenek wrote:
>
>> Author: kremenek
>> Date: Thu Oct 15 17:10:56 2009
>> New Revision: 84207
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=84207&view=rev
>> Log:
>> Add missing #include for wait().
>
> fork/exec/wait are not portable, they do not exist on windows, for
> example.  Can this use the sys::Program::Execute API in llvm/System/
> Program.h?
>

Hey Chris,

Ah yes, Windows:-) I can clean this up...

snaroff

> -Chris
>
>>
>> Modified:
>>   cfe/trunk/tools/CIndex/CIndex.cpp
>>
>> Modified: cfe/trunk/tools/CIndex/CIndex.cpp
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=84207&r1=84206&r2=84207&view=diff
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- cfe/trunk/tools/CIndex/CIndex.cpp (original)
>> +++ cfe/trunk/tools/CIndex/CIndex.cpp Thu Oct 15 17:10:56 2009
>> @@ -24,6 +24,7 @@
>> #include "clang/Frontend/ASTUnit.h"
>> #include <cstdio>
>> #include <dlfcn.h>
>> +#include <sys/wait.h>
>> #include "llvm/System/Path.h"
>>
>> using namespace clang;
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list