summaryrefslogtreecommitdiff
path: root/src/riva_include.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-04-27 18:10:37 -0700
committerAaron Plattner <aplattner@nvidia.com>2006-04-27 18:10:37 -0700
commit1a40c4a79b79034d191496726a27af8b0805dba6 (patch)
treee61354b2fcbd5d3de09a5a524220ac376b6663ed /src/riva_include.h
parent425e30d58b7b62fff01fbb58585ee69b2df6fec1 (diff)
Add the libcwrapper back, conditionalized on the server version.
Diffstat (limited to 'src/riva_include.h')
-rw-r--r--src/riva_include.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/riva_include.h b/src/riva_include.h
index 2f269df..675899b 100644
--- a/src/riva_include.h
+++ b/src/riva_include.h
@@ -3,12 +3,17 @@
#ifndef __RIVA_INCLUDE_H__
#define __RIVA_INCLUDE_H__
+#if !USE_LIBC_WRAPPER
#include <string.h>
+#endif
/* All drivers should typically include these */
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Resources.h"
+#if USE_LIBC_WRAPPER
+#include "xf86_ansic.h"
+#endif
#include "compiler.h"
/* Drivers for PCI hardware need this */