sync to trunk r38300
[reactos.git] / reactos / tools / rbuild / automaticdependency.cpp
index ac13ac1..2f3aa85 100644 (file)
@@ -60,7 +60,7 @@ SourceFile::Open ()
        if ( !f )
                throw FileNotFoundException ( filename );
 
-       if ( fstat ( fileno ( f ), &statbuf ) != 0 )
+       if ( fstat ( _fileno ( f ), &statbuf ) != 0 )
        {
                fclose ( f );
                throw AccessDeniedException ( filename );