summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h')
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h b/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
index ab9bc798a..4fc6b5d73 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
+++ b/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
@@ -350,6 +350,8 @@ typedef int xf86jmp_buf[20];
#define strerror(i) xf86strerror(i)
#undef strlen
#define strlen(ccp) xf86strlen(ccp)
+#undef strncat
+#define strncat(ccp1,ccp2,I) xf86strncat(ccp1,ccp2,I)
#undef strncmp
#define strncmp(ccp1,ccp2,I) xf86strncmp(ccp1,ccp2,I)
#undef strncasecmp
@@ -366,7 +368,7 @@ typedef int xf86jmp_buf[20];
#define strspn(ccp1,ccp2) xf86strspn(ccp1,ccp2)
#undef strstr
#define strstr(ccp1,ccp2) xf86strstr(ccp1,ccp2)
-#undef srttod
+#undef strtod
#define strtod(ccp,cpp) xf86strtod(ccp,cpp)
#undef strtok
#define strtok(cp,ccp) xf86strtok(cp,ccp)