blob: 42b6d000ff81ca516f840d4d957d486d4c331584 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ad,v 1.1 2007/01/21 04:39:14 rillig Exp $
Tags: for-upstream
The standard headers must be included before the behavior gets undefined
by the following macro definition.
--- tools/find_sts_main.c.orig 2005-01-01 15:04:43.000000000 +0100
+++ tools/find_sts_main.c 2007-01-21 04:36:17.750982588 +0100
@@ -40,6 +40,8 @@
#include <stdio.h>
#include <math.h>
#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
/* To allow some normally const fields to manipulated during building */
#define const
|