*** src/paperconf.c.ORIG	Tue Jul 28 22:04:07 2009
--- src/paperconf.c	Tue Jul 28 22:04:18 2009
***************
*** 6,12 ****
--- 6,14 ----
  #include <sys/param.h>
  
  #include <ctype.h>
+ #ifndef _AIX
  #include <getopt.h>
+ #endif
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
*** lib/paper.h.ORIG	Fri Oct 23 22:16:28 2009
--- lib/paper.h	Fri Oct 23 22:16:35 2009
***************
*** 22,36 ****
   *
   */
  
! #if __STDC__ - 0 == 0
  
! #define __PAPER_CONST
! #define __PAPER_PROTO(p)	()
  
  #else
  
! #define __PAPER_CONST		const
! #define __PAPER_PROTO(p)	p
  
  #endif
  
--- 22,36 ----
   *
   */
  
! #if defined(__STDC__) || defined(_AIX)
  
! #define __PAPER_CONST		const
! #define __PAPER_PROTO(p)	p
  
  #else
  
! #define __PAPER_CONST
! #define __PAPER_PROTO(p)	()
  
  #endif
  
