$NetBSD: patch-bs,v 1.2 2024/01/15 04:43:22 jnemeth Exp $

--- libsm/notify.c.orig	2023-02-09 18:24:38.000000000 +0000
+++ libsm/notify.c
@@ -19,6 +19,7 @@
 #include <sm/time.h>
 #include <sm/string.h>
 
+#include <sys/select.h>
 #include <sys/types.h>
 #include <signal.h>
 #include <stdio.h>
