diff --git a/reactos/dll/3rdparty/freetype/freetype.rbuild b/reactos/dll/3rdparty/freetype/freetype.rbuild
index ec83eec9377..bc667ada709 100644
--- a/reactos/dll/3rdparty/freetype/freetype.rbuild
+++ b/reactos/dll/3rdparty/freetype/freetype.rbuild
@@ -10,6 +10,7 @@
ntoskrnl
+ ntdll
hal
setjmplongjmp.s
diff --git a/reactos/dll/3rdparty/freetype/rosglue.c b/reactos/dll/3rdparty/freetype/rosglue.c
index 28d9ea0a749..762bc56e334 100644
--- a/reactos/dll/3rdparty/freetype/rosglue.c
+++ b/reactos/dll/3rdparty/freetype/rosglue.c
@@ -26,50 +26,7 @@
* First some generic routines
*/
-void *
-memcpy(void *Dest, const void *Source, size_t Size)
-{
- RtlMoveMemory(Dest, Source, Size);
- return Dest;
-}
-
-
-int
-memcmp(const void *p1, const void *p2, size_t Size)
-{
- unsigned int i;
- const char* s1;
- const char* s2;
-
- s1 = (const char *) p1;
- s2 = (const char *) p2;
- for (i = 0; i < Size; i++)
- {
- if ((*s1) != (*s2))
- {
- return((*s1) - (*s2));
- }
- s1++;
- s2++;
- }
- return(0);
-}
-
-/* Hopefully we're only passed ASCII characters.... */
-int
-isalnum(int c)
-{
- assert(0x20 <= c && c <= 0x7f);
-
- return (('0' <= c && c <= '9') || ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z'));
-}
-
-long
-labs(long j)
-{
- return (j < 0 ? -j : j);
-}
/*
* Memory allocation