mirror of https://github.com/BOINC/boinc.git
- 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:
parent
4b57572a87
commit
2151abc147
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue