annotate toynet.h @ 818:264b9da809df

Simplify license text, as mentioned on the mailing list. Reasoning: it was never my intent to require anybody to copy license text into another project if they cut and pasted something out of toybox. The "permission for any purpose" is as close to public domain as you can get in our current screwed up legal system without making people uncomfortable the _other_ way. (Besides, my initial reading of that was "all copies of the source code" but that's not what it says, and somebody pointed out that Android has "show license text" options because paranoid lawyers think that sort of thing applies to the BINARY version, which is nuts.)
author Rob Landley <rob@landley.net>
date Thu, 14 Mar 2013 09:02:37 -0500
parents e864c5ed1d25
children 4dcd5decb4fd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
190
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 // Included after toys.h, for network stuff. Some build environments
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 // don't include network support, so we shouldn't include it unless we're
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 // going to build it.
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
4
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 #include <sys/socket.h>
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 #include <netinet/in.h>
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 #include <arpa/inet.h>
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 #include <netdb.h>
e864c5ed1d25 Netcat needs this to build.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 #include <poll.h>