#include <malloc.h>
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKTools_BasicMap
//purpose :
// Node definition and nodes storage management
-#if (defined IRIX || defined WNT)
+#if (defined IRIX || defined WNT || defined LIN)
template <class Item, class Key> class DataMapNode : public WOKTools_MapNode {
public :
// Node definition and nodes storage management
-#if (defined IRIX || defined WNT)
+#if (defined IRIX || defined WNT || defined LIN)
template <class Key1, class Key2> class DoubleMapNode : public WOKTools_MapNode{
public :
// Node definition and nodes storage management
-#if (defined IRIX || defined WNT)
+#if (defined IRIX || defined WNT || defined LIN)
template <class Key, class Item> class IndexedDataMapNode : public WOKTools_MapNode {
public :
#include <WOKTools_BasicMapIterator.hxx>
// Node definition and nodes storage management
-#if (defined IRIX || defined WNT)
+#if (defined IRIX || defined WNT || defined LIN)
template <class Key> class IndexedMapNode : public WOKTools_MapNode {
public :
// Node definition and nodes storage management
-#if (defined IRIX || defined WNT)
+#if (defined IRIX || defined WNT || defined LIN)
template <class TheKey> class MapNode : public WOKTools_MapNode {
public :
#include <TCollection_AsciiString.hxx>
-#ifndef WNT
+#if defined( LIN )
+# include <getopt.h>
+#elif !defined( WNT )
extern char *optarg;
extern int optind;
#else
mydefines = new WOKTools_HSequenceOfDefine;
myargs = new TColStd_HSequenceOfHAsciiString;
myerrflg = Standard_False;
-#ifndef WNT
+#if !defined( WNT ) && !defined( LIN )
optind = 1;
#else
optind = 0;