[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[or-cvs] Port to MacOS X
Update of /home/or/cvsroot/src/smtpap
In directory moria.seul.org:/tmp/cvs-serv32503/src/smtpap
Modified Files:
io.c smtpap.c
Log Message:
Port to MacOS X
Index: io.c
===================================================================
RCS file: /home/or/cvsroot/src/smtpap/io.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- io.c 26 Jun 2002 22:45:50 -0000 1.1.1.1
+++ io.c 3 Sep 2002 18:44:24 -0000 1.2
@@ -1,7 +1,8 @@
#include <sys/time.h>
#include <stdarg.h>
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
+#include <string.h>
#include "../common/log.h"
#include "../common/utils.h"
Index: smtpap.c
===================================================================
RCS file: /home/or/cvsroot/src/smtpap/smtpap.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- smtpap.c 24 Aug 2002 07:56:34 -0000 1.3
+++ smtpap.c 3 Sep 2002 18:44:24 -0000 1.4
@@ -8,6 +8,9 @@
/*
* Changes :
* $Log$
+ * Revision 1.4 2002/09/03 18:44:24 nickm
+ * Port to MacOS X
+ *
* Revision 1.3 2002/08/24 07:56:34 arma
* proxies send port in host order as ascii string
*
@@ -114,6 +117,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
+#include <sys/wait.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
@@ -122,7 +126,6 @@
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
-#include <wait.h>
#include <stdarg.h>
#include <ctype.h>
#include <stdint.h>