1.0.42.40: replace hardcoded FD-SETSIZE with a groveled one
[sbcl.git] / tools-for-build / grovel-headers.c
index e93b2e1..3c3cebc 100644 (file)
@@ -41,6 +41,7 @@
 #endif
 
 #include <sys/stat.h>
+#include <sys/select.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <signal.h>
@@ -249,6 +250,8 @@ main(int argc, char *argv[])
 
     printf("(in-package \"SB!UNIX\")\n\n");
 
+    defconstant("fd-setsize", FD_SETSIZE);
+
     printf(";;; langinfo\n");
     defconstant("codeset", CODESET);