Subject: AIX mods for 3/12/93 sam

From: Ed Kubaitis - CCSO <[email-masked]>
Date: Mon, 15 Mar 1993 11:31:22 -0500

Attached is one small patch for compiling 3/12 sam on AIX 3.2. It seems
both AIX and HPUX only define these symbols under -D_XOPEN_SOURCE. But 
using that flag in the Makefiles led to other problems.

Ed
===============================================================================
*** samterm/unix.c-	Mon Mar 15 08:49:25 1993
--- samterm/unix.c	Mon Mar 15 09:56:47 1993
***************
*** 15,20 ****
--- 15,25 ----
  #define S_IFIFO	_IFIFO
  #endif
  
+ #ifdef  AIX
+ #define	S_IFMT	_S_IFMT
+ #define S_IFIFO	_S_IFIFO
+ #endif
+ 
  #if	defined(UMIPS) || defined(SUNOS)
  #define	atexit(p)		/* sigh */
  #endif