 *** ./Makefile.ORIG	Thu Mar  3 22:22:49 2016
--- ./Makefile	Thu Mar  3 22:25:12 2016
***************
*** 23,29 ****
  DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
  CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL $(DEBUGFLAGS)
  OPTFLAGS= -g -ffast-math
! CFLAGS	= -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS) -I. -I$(SRCDIR)
  LIBS	+= -lm $(EXTLIBS)
  PROGS	= fio
  SCRIPTS = $(addprefix $(SRCDIR)/,tools/fio_generate_plots tools/plot/fio2gnuplot tools/genfio)
--- 23,29 ----
  DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
  CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL $(DEBUGFLAGS)
  OPTFLAGS= -g -ffast-math
! CFLAGS	= -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS) -I. -I$(SRCDIR) -Ilib
  LIBS	+= -lm $(EXTLIBS)
  PROGS	= fio
  SCRIPTS = $(addprefix $(SRCDIR)/,tools/fio_generate_plots tools/plot/fio2gnuplot tools/genfio)
*** ./client.c.ORIG	Thu Mar  3 22:20:56 2016
--- ./client.c	Thu Mar  3 22:21:17 2016
***************
*** 1353,1359 ****
  	fio_net_send_cmd(fd, FIO_NET_CMD_SENDFILE, rep, size, &tag, NULL);
  }
  
! static int send_file(struct fio_client *client, struct cmd_sendfile *pdu,
  		     uint64_t tag)
  {
  	struct cmd_sendfile_reply *rep;
--- 1353,1359 ----
  	fio_net_send_cmd(fd, FIO_NET_CMD_SENDFILE, rep, size, &tag, NULL);
  }
  
! static int AIXsend_file(struct fio_client *client, struct cmd_sendfile *pdu,
  		     uint64_t tag)
  {
  	struct cmd_sendfile_reply *rep;
***************
*** 1509,1515 ****
  		}
  	case FIO_NET_CMD_SENDFILE: {
  		struct cmd_sendfile *pdu = (struct cmd_sendfile *) cmd->payload;
! 		send_file(client, pdu, cmd->tag);
  		break;
  		}
  	default:
--- 1509,1515 ----
  		}
  	case FIO_NET_CMD_SENDFILE: {
  		struct cmd_sendfile *pdu = (struct cmd_sendfile *) cmd->payload;
! 		AIXsend_file(client, pdu, cmd->tag);
  		break;
  		}
  	default:
*** ./Makefile.ORIG	Fri Mar  4 00:32:07 2016
--- ./Makefile	Fri Mar  4 00:33:01 2016
***************
*** 160,165 ****
--- 160,167 ----
    LIBS	 += -lpthread -ldl -lrt
    CPPFLAGS += -D_LARGE_FILES -D__ppc__
    LDFLAGS += -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000
+   SOURCE += lib/strcasestr.c
+   T_ZIPF_OBJS += lib/strcasestr.o
  endif
  ifeq ($(CONFIG_TARGET_OS), HP-UX)
    LIBS   += -lpthread -ldl -lrt
