git: 63a9c046c5 - main - Developers handbook - Add missing header in sockets chapter
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Apr 2023 09:50:47 UTC
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=63a9c046c590eb34c3c398889498dbf1bf4965a7 commit 63a9c046c590eb34c3c398889498dbf1bf4965a7 Author: QWERTIOX <qwertiox.kontakt@gmail.com> AuthorDate: 2023-04-08 09:48:12 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2023-04-08 09:48:12 +0000 Developers handbook - Add missing header in sockets chapter Tested with llvm 15 Pull Request: https://github.com/freebsd/freebsd-doc/pull/150 --- documentation/content/en/books/developers-handbook/sockets/_index.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/content/en/books/developers-handbook/sockets/_index.adoc b/documentation/content/en/books/developers-handbook/sockets/_index.adoc index 640f4524da..3504da6720 100644 --- a/documentation/content/en/books/developers-handbook/sockets/_index.adoc +++ b/documentation/content/en/books/developers-handbook/sockets/_index.adoc @@ -559,6 +559,7 @@ We now know enough to write a very simple client, one that will get current time #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#include <unistd.h> int main() { register int s;