fix to sys/un.h

Christopher Faylor cgf@redhat.com
Thu Aug 30 06:21:00 GMT 2001


On Thu, Aug 30, 2001 at 08:33:41PM +0900, AIDA Shinra wrote:
>--- un.h.orig Mon May 21 12:29:26 2001
>+++ un.h Thu Aug 30 20:30:42 2001
>@@ -11,6 +11,11 @@
> #ifndef _SYS_UN_H
> #define _SYS_UN_H
> 
>+/* for postgresql/libpq/pqcomm.h */
>+#ifndef HAVE_STRUCT_SOCKADDR_UN
>+#define HAVE_STRUCT_SOCKADDR_UN
>+#endif
>+
> /* POSIX requires only at least 100 bytes */
> #define UNIX_PATH_LEN   108

I don't know what bug you're trying to fix but that is definitely the wrong
way to go about it.  You don't put "HAVE_*" variables in system header files.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list