On Sun, Dec 03, 2000 at 02:11:43AM -0800, Greg Stein wrote: > On Sun, Dec 03, 2000 at 03:39:12AM -0600, Sam TH wrote: > > On Sun, Dec 03, 2000 at 01:26:28AM -0800, Greg Stein wrote: > > > > > > Looks like Ryan is offline, so I'll go and commit the isascii fix. I'm not > > > sure on the include header stuff, though, so I'm going to pass that one > > > up. > > > > Well, if you look at socket.c, it really does include sa_common.c, but > > you're welcome to wait. > > Euh... I see sockaddr.c containing: > > #include "../unix/sa_common.c" > > That should be fine without the additional -I, right? >
Here's the include chain.
network_io/beos/sockaddr.c
includes
network_io/unix/sockaddr.c
includes
network_io/unix/sa_common.c
It's the last part that causes trouble. Another possible solution is
this patch:
Index: sockaddr.c
===================================================================
RCS file: /home/cvspublic/apr/network_io/unix/sockaddr.c,v
retrieving revision 1.25
diff -u -r1.25 sockaddr.c
--- sockaddr.c 2000/12/01 18:47:31 1.25
+++ sockaddr.c 2000/12/03 10:51:59
@@ -69,4 +69,4 @@
}
/* included here to allow us to use local_addr */
-#include "sa_common.c"
+#include "../unix/sa_common.c"
I haven't tested that, but it should fix the problem. Whichever one
you want.
sam th
[EMAIL PROTECTED]
http://www.abisource.com/~sam/
GnuPG Key:
http://www.abisource.com/~sam/key
pgpkNsskcaz29.pgp
Description: PGP signature
