Add missing include for malloc/free
[nouveau] / src / nv_include.h
1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_include.h,v 1.9 2000/10/06 12:31:03 eich Exp $ */
2
3 #ifndef __NV_INCLUDE_H__
4 #define __NV_INCLUDE_H__
5
6 #ifdef HAVE_CONFIG_H
7 #include "config.h"
8 #endif
9
10 #if !USE_LIBC_WRAPPER
11 #include <string.h>
12 #include <math.h>
13 #include <errno.h>
14 #include <unistd.h>
15 #include <stdlib.h>
16 #endif
17
18 /* All drivers should typically include these */
19 #include "xf86.h"
20 #include "xf86_OSproc.h"
21 #include "xf86Resources.h"
22 #if USE_LIBC_WRAPPER
23 #include "xf86_ansic.h"
24 #endif
25 #define PPC_MMIO_IS_BE
26 #include "compiler.h"
27
28 /* Drivers for PCI hardware need this */
29 #include "xf86PciInfo.h"
30
31 /* Drivers that need to access the PCI config space directly need this */
32 #include "xf86Pci.h"
33
34 /* All drivers initialising the SW cursor need this */
35 #include "mipointer.h"
36
37 /* All drivers implementing backing store need this */
38 #include "mibstore.h"
39
40 #include "micmap.h"
41
42 #include "xf86DDC.h"
43
44 #include "vbe.h"
45
46 #include "xf86RAC.h"
47
48 #include "nv_const.h"
49
50 #include "dixstruct.h"
51 #include "scrnintstr.h"
52
53 #include "fb.h"
54
55 #include "xaa.h"
56 #include "xf86cmap.h"
57 #include "shadowfb.h"
58
59 #include "xf86xv.h"
60 #include <X11/extensions/Xv.h>
61
62 #include "vgaHW.h"
63
64 #include "xf86Cursor.h"
65 #include "xf86DDC.h"
66
67 #include "region.h"
68
69 #ifdef RANDR
70 #include <X11/extensions/randr.h>
71 #endif
72
73 #define NV_DMA_DEBUG 0
74 //#define NV_ENABLE_3D
75 #include "nv_local.h"
76 #include "nv_type.h"
77 #include "nv_proto.h"
78 #include "nv_dma.h"
79 #include "nouveau_drm.h"
80 #include "nouveau_reg.h"
81 #include "nvreg.h"
82
83 #endif /* __NV_INCLUDE_H__ */