#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
-#if !defined(USL) && !defined(sun)
+#if !defined(sun)
#include <osfcn.h>
#endif
#endif
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <sys/stat.h>
-#if defined(OPT_BUG_USL)
-#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
-#endif
#include <sys/wait.h>
#include "api/c/tt_c.h"
#include "util/tt_path.h"