substitute for linux/UN*X libraries RRS feed

  • Question

  • I am trying to build a apache module and running into an issue with the code that is supposedly built for windows compilation using cl.exe when I go to compile

    C:\Program Files\Apache22\bin>cl /nologo /MD /W0 /O2 /D WIN32 /D _WINDOWS /D NDEBUG    -I"C:\PROGRA~1\Apache22\include"  /c /Fomod_auth_cas.lo mod_auth_cas.c
    mod_auth_cas.c(27) : fatal error C1083: Cannot open include file: 'sys/file.h': No such file or directory

    sys/file.h doesn't exits I need the flock() functionality what windows header would do that for me ...I tried windows.h and stdio.h

    with no luck

    • Edited by robMerritt Friday, September 18, 2015 7:27 PM
    • Moved by Barry Wang Monday, September 21, 2015 11:42 AM Not Setup issue
    Friday, September 18, 2015 7:26 PM


All replies