FreeBSD updates, make things compile on Linux 2.2 kernels
diff --git a/stream.c b/stream.c
index 4abf861..1c26672 100644
--- a/stream.c
+++ b/stream.c
@@ -178,9 +178,15 @@
 #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		},
 };