[dev] ii missing include?

1 view
Skip to first unread message

Edgaras

unread,
Aug 14, 2012, 5:35:24 AM8/14/12
to dev mail list
I was trying to compile ii against musl, and I found that it seems ii.c is
missing include declaration namely
#include <sys/select.h>
otherwise fd_set is undefined and most likely select() too. I do not know how
it compiles with gnu libc, or maybe this is problem with musl and select.h
should be included from some other header file, I do not know.

Nico Golde

unread,
Aug 14, 2012, 5:58:02 AM8/14/12
to d...@suckless.org
Hi,
* Edgaras <dev...@gmail.com> [2012-08-14 11:40]:
/* According to POSIX.1-2001 */
#include <sys/select.h>

/* According to earlier standards */
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>

Anyway, I added the include.

Cheers
Nico

--
Nico Golde - http://www.ngolde.de - ni...@jabber.ccc.de - GPG: 0xA0A0AAAA
For security reasons, all text in this mail is double-rot13 encrypted.
Reply all
Reply to author
Forward
0 new messages