- wrapper: fix for likely compile problems on non-linux or older gcc caused by

commit 9223fd2.  The macros necessary to fix it already existed in config.h
This commit is contained in:
Eric J Korpela 2012-10-31 08:24:22 -07:00 committed by Oliver Bock
parent 4b57572a87
commit 2151abc147
1 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,9 @@
// See http://boinc.berkeley.edu/trac/wiki/WrapperApp for details
// Contributor: Andrew J. Younge (ajy4490@umiacs.umd.edu)
#ifndef _WIN32
#include "config.h"
#endif
#include <stdio.h>
#include <vector>
#include <string>
@ -35,11 +38,17 @@
#include "boinc_win.h"
#include "win_util.h"
#else
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#include <unistd.h>
#endif