summaryrefslogtreecommitdiff
path: root/src/nv_include.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_include.h')
-rw-r--r--src/nv_include.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nv_include.h b/src/nv_include.h
index eb32143..071a4a0 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -3,13 +3,18 @@
#ifndef __NV_INCLUDE_H__
#define __NV_INCLUDE_H__
+#if !USE_LIBC_WRAPPER
#include <string.h>
#include <math.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 */