update for HEAD-2003021201
[reactos.git] / lib / crtdll / io / chsize.c
index 9fd2ce2..865bec2 100644 (file)
@@ -1,8 +1,12 @@
 /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
-#include <crtdll/io.h>
+#include <msvcrt/io.h>
+
+#define NDEBUG
+#include <msvcrt/msvcrtdbg.h>
 
 int _chsize(int _fd, long size)
 {
+  DPRINT("_chsize(fd %d, size %d)\n", _fd, size);
   if (lseek(_fd, size, 0) == -1)
     return -1;
   if (_write(_fd, 0, 0) < 0)