Revision: 14486
Author: adrian.chadd
Date: Wed Mar 24 07:58:37 2010
Log: More portability/autoconf fixes from Issue #94.


http://code.google.com/p/lusca-cache/source/detail?r=14486

Modified:
 /branches/LUSCA_HEAD/libmem/buf.c
 /branches/LUSCA_HEAD/libsqident/ident.c

=======================================
--- /branches/LUSCA_HEAD/libmem/buf.c   Thu May 21 01:42:16 2009
+++ /branches/LUSCA_HEAD/libmem/buf.c   Wed Mar 24 07:58:37 2010
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include </usr/include/string.h>
+#include <string.h>

 #include "../include/config.h"
 #include "../include/util.h"
=======================================
--- /branches/LUSCA_HEAD/libsqident/ident.c     Tue Jan  6 13:40:17 2009
+++ /branches/LUSCA_HEAD/libsqident/ident.c     Wed Mar 24 07:58:37 2010
@@ -44,10 +44,18 @@
 #include <math.h>
 #include <fcntl.h>
 #include <ctype.h>
-#include <sys/errno.h>
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
+#if HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
+#endif
+#if HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
+#if HAVE_ARPA_INET_H
 #include <arpa/inet.h>
+#endif

 #include "../include/Array.h"
 #include "../include/Stack.h"

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to