blob: 7d8e9ca12b9b642e6bca99bb53379e434bb7c754 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-ag,v 1.1 2007/07/30 09:51:03 joerg Exp $
--- Hybrid/vtkVRMLImporter.cxx.orig 2007-07-30 08:46:08.000000000 +0000
+++ Hybrid/vtkVRMLImporter.cxx
@@ -59,6 +59,8 @@
#include "vtkTransform.h"
#include "vtkVRML.h"
+#include <stdlib.h>
+
#ifdef WIN32
#pragma warning( disable : 4005 )
#endif
@@ -491,10 +493,6 @@ VrmlNodeType::has(const vtkVRMLVectorTyp
#define YYDEBUG 1
-#ifndef __APPLE__
-#include <malloc.h>
-#endif
-
#ifdef USE_STD_NAMESPACE
using namespace std;
#endif
@@ -4174,21 +4172,6 @@ int yywrap() { BEGIN INITIAL; return 1;
* section 1.
*/
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines. This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#endif
-#endif
-
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
|