diff --git a/xpcom/tests/TestBlockingProcess.cpp b/xpcom/tests/TestBlockingProcess.cpp index d4c233932b5f..8e06145203cd 100644 --- a/xpcom/tests/TestBlockingProcess.cpp +++ b/xpcom/tests/TestBlockingProcess.cpp @@ -1,8 +1,9 @@ -#include +#include int main() { - while(1) sleep(10); + char text[20]; + fgets(text, sizeof text, stdin); return 0; }