#define HAVE_LIMITS_H 0
/* Define as 1 if you have <machine/types.h> */
-#define MACHINE_TYPES_H 0
+#define HAVE_MACHINE_TYPES_H 0
/* Define as 1 if you have <sys/socket.h> */
#define HAVE_SYS_SOCKET_H 0
optflags: sparc -O2
optflags: m68k -O2 -fomit-frame-pointer
optflags: ppc -O2 -fsigned-char
+optflags: hppa1.0 -O2 -mpa-risc-1-0
+optflags: hppa1.1 -O2 -mpa-risc-1-0
#############################################################
# Canonical arch names and numbers
arch_compat: ppc: noarch
arch_compat: mips: noarch
+arch_compat: hppa1.1: hppa1.0
+arch_compat: hppa1.0: noarch
+
os_compat: IRIX64: IRIX
buildarch_compat: i986: i886
+#include "config.h"
+#include "miscfn.h"
+
#include <fcntl.h>
#include <netinet/in.h>
#include <stdlib.h>
+#include "config.h"
+#include "miscfn.h"
+
#ifdef HAVE_MACHINE_TYPES_H
# include <machine/types.h>
#endif
#include "config.h"
+#include "miscfn.h"
#ifdef HAVE_NETINET_IN_SYSTM_H
# include <sys/types.h>
#endif
#if ! HAVE_S_IFSOCK
-#define S_IFSOCK (0)
+#define S_IFSOCK (0xC000)
#endif
#if ! HAVE_S_ISLNK
-#define S_ISLNK(mode) ((mode) & S_IFLNK)
+#define S_ISLNK(mode) ((mode & 0xF000) == S_IFLNK)
#endif
#if ! HAVE_S_ISSOCK
-#define S_ISSOCK(mode) ((mode) & S_IFSOCK)
+#define S_ISSOCK(mode) ((mode & 0xF000) == S_IFSOCK)
#endif
#if NEED_STRINGS_H
#endif
#if HAVE_SYS_SOCKET_H
+#include <sys/types.h>
#include <sys/socket.h>
#endif