Skip to content
Snippets Groups Projects
Commit af86ac7d authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King
Browse files

SystemTools: Fix build with SunCC/stlport.

The <fcntl.h> header needs to be included before <string> is included
when using stlport. Otherwise:

"SystemTools.cxx", line 1240: Error: UTIME_OMIT is not defined.
"SystemTools.cxx", line 1240: Error: UTIME_NOW is not defined.
"SystemTools.cxx", line 1241: Error: AT_FDCWD is not defined.

Change-Id: I3441ae3a7007c53ad97dea42ec48fedca8cc010c
parent e4fe1d1a
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
# define KWSYS_WINDOWS_DIRS
#else
# if defined(__SUNPRO_CC)
# include <fcntl.h>
# endif
#endif
#include "kwsysPrivate.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment