summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-25 20:09:57 -0700
committerYamaArashi <shadow962@live.com>2016-04-25 20:09:57 -0700
commit31cf69f88e968da5857ee39333d60bb81c021520 (patch)
tree37e685b669a30209b7db7a6f5b21faed90c5819c /gcc/system.h
parentb03d2c9d30b7f15fddd6fb34401b4ca58a121229 (diff)
make compilable using MinGW
Diffstat (limited to 'gcc/system.h')
-rwxr-xr-xgcc/system.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 1022bbd..5cac102 100755
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -72,8 +72,6 @@ Boston, MA 02111-1307, USA. */
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/wait.h>
#include <fcntl.h>
/* Some systems define these in, e.g., param.h. We undefine these names
@@ -102,9 +100,11 @@ Boston, MA 02111-1307, USA. */
#define _(String) String
#define N_(String) String
-extern void *xmalloc (size_t);
-extern void *xrealloc (void *, size_t);
-extern void *xcalloc (size_t, size_t);
-extern char *xstrdup (const char *);
+extern void *xmalloc(size_t);
+extern void *xrealloc(void *, size_t);
+extern void *xcalloc(size_t, size_t);
+extern char *xstrdup(const char *);
+
+extern void *alloca(size_t);
#endif /* __GCC_SYSTEM_H__ */