diff options
| author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-09 22:21:20 +0000 |
|---|---|---|
| committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-09 22:21:20 +0000 |
| commit | 0b5b84349d2c73b73cc93ba6bea3b3f187b65e77 (patch) | |
| tree | a176d02a50d900a5dc610266d920c5efc65c3e1e /include | |
| parent | 47fe8d364ca68aef1ba972f1624ded711dc9cd92 (diff) | |
| download | busybox-w32-0b5b84349d2c73b73cc93ba6bea3b3f187b65e77.tar.gz busybox-w32-0b5b84349d2c73b73cc93ba6bea3b3f187b65e77.tar.bz2 busybox-w32-0b5b84349d2c73b73cc93ba6bea3b3f187b65e77.zip | |
Portability patch from rfelker. The bb_asprintf.c thing needs an eventual
follow up in platform.h to set the #ifdef, but the workaround works for
everybody, so...
git-svn-id: svn://busybox.net/trunk/busybox@14498 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/inet_common.h | 2 | ||||
| -rw-r--r-- | include/libbb.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/inet_common.h b/include/inet_common.h index afea5deaa..f330aa90f 100644 --- a/include/inet_common.h +++ b/include/inet_common.h | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include <features.h> | 11 | #include <features.h> |
| 12 | #include <sys/types.h> | 12 | #include <sys/types.h> |
| 13 | #include <sys/socket.h> | 13 | #include <sys/socket.h> |
| 14 | #include <arpa/inet.h> | 14 | #include <netinet/in.h> |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | extern const char bb_INET_default[]; /* = "default" */ | 17 | extern const char bb_INET_default[]; /* = "default" */ |
diff --git a/include/libbb.h b/include/libbb.h index bc3fa5990..0490ee35f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <stdint.h> | 20 | #include <stdint.h> |
| 21 | 21 | ||
| 22 | #include <netdb.h> | 22 | #include <netdb.h> |
| 23 | #include <netinet/in.h> | ||
| 23 | 24 | ||
| 24 | #include <features.h> | 25 | #include <features.h> |
| 25 | 26 | ||
