[Git][cmucl/cmucl][issue-130-file-author-in-c] Include stdlib.h and unistd.h

Raymond Toy (@rtoy) gitlab at common-lisp.net
Mon Aug 29 21:07:20 UTC 2022



Raymond Toy pushed to branch issue-130-file-author-in-c at cmucl / cmucl


Commits:
ec14c5b1 by Raymond Toy at 2022-08-29T14:07:02-07:00
Include stdlib.h and unistd.h

stdlib.h is needed for malloc and friends.  unistd.h is needed for
sysconf.

- - - - -


1 changed file:

- src/lisp/os-common.c


Changes:

=====================================
src/lisp/os-common.c
=====================================
@@ -11,8 +11,10 @@
 #include <pwd.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <time.h>
 
 #include "os.h"



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/ec14c5b16fc37e56023f06934f98f90f25a6fffd

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/ec14c5b16fc37e56023f06934f98f90f25a6fffd
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20220829/7cc0309f/attachment.html>


More information about the cmucl-cvs mailing list