PR: ports/121609 Submitted by: Richard Neese <r.neese@gmail.com> Approved by: maintainer timeout (sobomax; 20 days)
19 lines
481 B
C
19 lines
481 B
C
|
|
$FreeBSD$
|
|
|
|
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
|