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

  • Hello Rob,

    This forum is for install/uninstall Visual Studio, your case is not related to here. I'll move your case to where is the forum for so that you may get some redirection.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, September 21, 2015 11:41 AM
  • Might try them over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, September 21, 2015 9:21 PM
    • Marked as answer by Just Karl Monday, September 28, 2015 7:59 PM
    Monday, September 21, 2015 12:11 PM