[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tiny heads-up: in_port_t defined in netinet/in.h

From: Peter 'Luna' Runestig
Subject: Tiny heads-up: in_port_t defined in netinet/in.h
Date: Sat, 16 Dec 2000 14:17:08 +0100

Hi all,

In glibc 2.2, ``in_port_t´´ is defined in netinet/in.h, not in the
`´usual`´ places. That makes it invisible to the GNU autoconf
AC_CHECK_TYPE() macro. This may or may not be a problem for existing
software packages, I just know my own Linux port of OpenBSD's ftpd went
a little crazy because of this.
A possible workaround:
AC_TRY_COMPILE([#include <netinet/in.h>],
    in_port_t ip = 0; , , AC_CHECK_TYPE(in_port_t, unsigned short int))

Peter 'Luna' Runestig (fd. Altberg), Sweden <address@hidden>
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
AOL Instant Messenger Screenname: PRunestig

reply via email to

[Prev in Thread] Current Thread [Next in Thread]