diff --git a/api/boinc_api.C b/api/boinc_api.C index 1e151c212e..e1242b91af 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -20,15 +20,12 @@ // Code that's in the BOINC app library (but NOT in the core client) // graphics-related code goes in graphics_api.C, not here -#ifdef _WIN32 -#include "stdafx.h" -#endif +// Note: don't use stdafx.h here since this file is used by external projects -#ifndef _WIN32 -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include @@ -41,11 +38,9 @@ #endif #ifdef HAVE_SIGNAL_H #include -#endif #include "config.h" using namespace std; -#endif #include "diagnostics.h" #include "parse.h"