Build on linux - missing #include <unistd.h> in GDirList.h

Help
Anonymous
2012-11-26
2012-11-26
  • Anonymous - 2012-11-26

    Using Ubuntu 12.10 and g++ 4.7.2 I was unable to build waffle because of an error in GDirList (getcwd, chdir, etc not defined). These functions are defined in direct.h under Windows. To solve this problem on Linux, just add "#include <unistd.h>" on top of your GDirList.h !

     
  • Mike Gashler

    Mike Gashler - 2012-11-26

    Thanks! I added this line to GDirList.cpp, and pushed it into our git repository.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks