summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2002-12-30 00:51:30 +0000
committerRoland McGrath <roland@redhat.com>2002-12-30 00:51:30 +0000
commit6d2b34971b33d379c89c36c5ad1b0c6d5d12c453 (patch)
tree5b4bfe0ef2375b3cdadf9dd9f339e3267228b603 /stream.c
parente4d289013916c73187d461bb8f4b4010f6cf3f5a (diff)
downloadstrace-6d2b34971b33d379c89c36c5ad1b0c6d5d12c453.tar.gz
strace-6d2b34971b33d379c89c36c5ad1b0c6d5d12c453.tar.bz2
strace-6d2b34971b33d379c89c36c5ad1b0c6d5d12c453.tar.xz
2002-12-22 Roland McGrath <roland@redhat.com>
Update to Autoconf 2.57, and Automakify with version 1.7. * Makefile.am: New file. * Makefile.in: File removed. * configure.in: Moved to ... * configure.ac: ... here. Update for Autoconf 2.5x and Automake. * aclocal.m4: Moved to ... * acinclude.m4: ... here. Update for Autoconf 2.5x. * AUTHORS: New file, makes automake happy. * autogen.sh: File removed. * README-CVS: Update to recommend autoreconf instead. * file.c: HAVE_ST_* -> HAVE_STRUCT_STAT_ST_*. * net.c: HAVE_SIN6_SCOPE_ID -> HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID, HAVE_MSG_CONTROL -> HAVE_STRUCT_MSGHDR_MSG_CONTROL. * strace.c: *_DECLARED -> HAVE_DECL_* * stream.c: HAVE_* -> HAVE_STRUCT_*
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream.c b/stream.c
index e48e0fc..a7629fb 100644
--- a/stream.c
+++ b/stream.c
@@ -481,7 +481,7 @@ static struct xlat transport_user_flags [] = {
};
-#ifdef HAVE_T_OPTHDR
+#ifdef HAVE_STRUCT_T_OPTHDR
static struct xlat xti_level [] = {
{ XTI_GENERIC, "XTI_GENERIC" },
@@ -562,9 +562,9 @@ int len;
{
/* We don't know how to tell if TLI (socket) or XTI
optmgmt is being used yet, assume TLI. */
-#if defined (HAVE_OPTHDR)
+#if defined (HAVE_STRUCT_OPTHDR)
print_sock_optmgmt (tcp, addr, len);
-#elif defined (HAVE_T_OPTHDR)
+#elif defined (HAVE_STRUCT_T_OPTHDR)
print_xti_optmgmt (tcp, addr, len);
#else
printstr (tcp, addr, len);