Author: Amaury Forgeot d'Arc <[email protected]> Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57761:5bd32c540fbe Date: 2012-10-03 08:35 +0200 http://bitbucket.org/pypy/pypy/changeset/5bd32c540fbe/
Log: Fix compilation warning. diff --git a/pypy/translator/c/src/profiling.c b/pypy/translator/c/src/profiling.c --- a/pypy/translator/c/src/profiling.c +++ b/pypy/translator/c/src/profiling.c @@ -1,4 +1,3 @@ - #include <stddef.h> #if defined(__GNUC__) && defined(__linux__) diff --git a/pypy/translator/c/src/profiling.h b/pypy/translator/c/src/profiling.h --- a/pypy/translator/c/src/profiling.h +++ b/pypy/translator/c/src/profiling.h @@ -1,6 +1,5 @@ - -#ifndef PROFILING_H -#define PROFILING_H +#ifndef _PYPY_PROFILING_H +#define _PYPY_PROFILING_H void pypy_setup_profiling(); void pypy_teardown_profiling(); diff --git a/pypy/translator/c/src/support.c b/pypy/translator/c/src/support.c --- a/pypy/translator/c/src/support.c +++ b/pypy/translator/c/src/support.c @@ -1,5 +1,6 @@ #include "common_header.h" #include <src/support.h> +#include <src/exception.h> /************************************************************/ /*** C header subsection: support functions ***/ _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
