summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>2000-10-13 12:47:12 +0000
committerWichert Akkerman <wichert@deephackmode.org>2000-10-13 12:47:12 +0000
commitd856b99aff36012d1c8bc72012d0ede414e17971 (patch)
treea4690714448aa71979cae21ab1371ad0d388aa69 /stream.c
parent2e4ffe59b588159eb80e236f068278ba47735932 (diff)
downloadstrace-d856b99aff36012d1c8bc72012d0ede414e17971.tar.gz
strace-d856b99aff36012d1c8bc72012d0ede414e17971.tar.bz2
strace-d856b99aff36012d1c8bc72012d0ede414e17971.tar.xz
FreeBSD updates, make things compile on Linux 2.2 kernels
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stream.c b/stream.c
index 4abf861..1c26672 100644
--- a/stream.c
+++ b/stream.c
@@ -178,9 +178,15 @@ struct tcb *tcp;
#ifdef HAVE_PUTPMSG
static struct xlat pmsgflags[] = {
+#ifdef MSG_HIPRI
{ MSG_HIPRI, "MSG_HIPRI" },
+#endif
+#ifdef MSG_AND
{ MSG_ANY, "MSG_ANY" },
+#endif
+#ifdef MSG_BAND
{ MSG_BAND, "MSG_BAND" },
+#endif
{ 0, NULL },
};