summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sheap.c3
-rw-r--r--src/unexcw.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/sheap.c b/src/sheap.c
index 106b2790367..df33353e69a 100644
--- a/src/sheap.c
+++ b/src/sheap.c
@@ -20,10 +20,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdio.h>
-
#include "lisp.h"
-
#include <unistd.h>
+#include <stdlib.h> /* for exit */
#ifdef ENABLE_CHECKING
#define STATIC_HEAP_SIZE (28 * 1024 * 1024)
diff --git a/src/unexcw.c b/src/unexcw.c
index be8857878eb..9583598a1cd 100644
--- a/src/unexcw.c
+++ b/src/unexcw.c
@@ -21,7 +21,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include "unexec.h"
#include "lisp.h"
-
+#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <a.out.h>