*** ./src/dial.c.ORIG	Mon Jan 31 13:52:12 2011
--- ./src/dial.c	Mon Jan 31 13:53:34 2011
***************
*** 30,36 ****
--- 30,41 ----
  #include <config.h>
  #endif
  
+ #ifndef _AIX51
  #include <stdint.h>
+ #endif
+ #ifdef _AIX
+ #include <alloca.h>
+ #endif
  #include <limits.h>
  #include <arpa/inet.h>
  
*** ./lib/Makefile.in.ORIG	Mon Jan 30 11:20:51 2012
--- ./lib/Makefile.in	Mon Jan 30 11:23:45 2012
***************
*** 51,57 ****
  AR = ar
  ARFLAGS = cru
  libport_a_AR = $(AR) $(ARFLAGS)
! libport_a_DEPENDENCIES = @LIBOBJS@
  am_libport_a_OBJECTS =
  libport_a_OBJECTS = $(am_libport_a_OBJECTS)
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
--- 51,57 ----
  AR = ar
  ARFLAGS = cru
  libport_a_AR = $(AR) $(ARFLAGS)
! libport_a_DEPENDENCIES = @LIBOBJS@ getopt.o
  am_libport_a_OBJECTS =
  libport_a_OBJECTS = $(am_libport_a_OBJECTS)
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
***************
*** 102,109 ****
  LDFLAGS = @LDFLAGS@
  LIBICONV = @LIBICONV@
  LIBINTL = @LIBINTL@
! LIBOBJS = @LIBOBJS@
! LIBPORT_GETOPT_LONG_DEP = @LIBPORT_GETOPT_LONG_DEP@
  LIBS = @LIBS@
  LOCKDEV_CFLAGS = @LOCKDEV_CFLAGS@
  LOCKDEV_LIBS = @LOCKDEV_LIBS@
--- 102,109 ----
  LDFLAGS = @LDFLAGS@
  LIBICONV = @LIBICONV@
  LIBINTL = @LIBINTL@
! LIBOBJS = @LIBOBJS@ getopt.o
! LIBPORT_GETOPT_LONG_DEP =
  LIBS = @LIBS@
  LOCKDEV_CFLAGS = @LOCKDEV_CFLAGS@
  LOCKDEV_LIBS = @LOCKDEV_LIBS@
***************
*** 193,199 ****
  noinst_LIBRARIES = libport.a
  noinst_HEADERS = libport.h getopt.h
  libport_a_SOURCES = 
! libport_a_LIBADD = @LIBOBJS@ @LIBPORT_GETOPT_LONG_DEP@
  all: all-am
  
  .SUFFIXES:
--- 193,199 ----
  noinst_LIBRARIES = libport.a
  noinst_HEADERS = libport.h getopt.h
  libport_a_SOURCES = 
! libport_a_LIBADD = @LIBOBJS@ getopt.o
  all: all-am
  
  .SUFFIXES:
