diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-29 04:24:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-29 04:24:52 +0200 |
commit | 488dd7086925b83bb36568965558221e04d2cc91 (patch) | |
tree | 2c4ee47019880b24cb308eef3eb6f9fd211fbafb /selinux | |
parent | 217a7f4bf95339a93a217c5806c5b9a48c0027d5 (diff) | |
download | busybox-w32-488dd7086925b83bb36568965558221e04d2cc91.tar.gz busybox-w32-488dd7086925b83bb36568965558221e04d2cc91.tar.bz2 busybox-w32-488dd7086925b83bb36568965558221e04d2cc91.zip |
fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775
When compiling with !ENABLE_FEATURE_GETOPT_LONG, busybox still tries
to include getopt.h which is not available; for example with uClibc
when !UCLIBC_HAS_GETOPT_LONG. getopt.h is only required
for the _long set of functions.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/chcon.c | 1 | ||||
-rw-r--r-- | selinux/runcon.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index 8644502b5..88d0cfec6 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -40,7 +40,6 @@ | |||
40 | //usage: "\n -R Recurse" | 40 | //usage: "\n -R Recurse" |
41 | //usage: ) | 41 | //usage: ) |
42 | 42 | ||
43 | #include <getopt.h> | ||
44 | #include <selinux/context.h> | 43 | #include <selinux/context.h> |
45 | 44 | ||
46 | #include "libbb.h" | 45 | #include "libbb.h" |
diff --git a/selinux/runcon.c b/selinux/runcon.c index f0b21269f..3183a2274 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -50,7 +50,6 @@ | |||
50 | //usage: "\n -l RNG Levelrange" | 50 | //usage: "\n -l RNG Levelrange" |
51 | //usage: ) | 51 | //usage: ) |
52 | 52 | ||
53 | #include <getopt.h> | ||
54 | #include <selinux/context.h> | 53 | #include <selinux/context.h> |
55 | #include <selinux/flask.h> | 54 | #include <selinux/flask.h> |
56 | 55 | ||