summaryrefslogtreecommitdiff
path: root/selinux/chcon.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-29 04:24:13 +0200
committerDenys Vlasenko2011-05-29 04:24:52 +0200
commit488dd7086925b83bb36568965558221e04d2cc91 (patch)
tree2c4ee47019880b24cb308eef3eb6f9fd211fbafb /selinux/chcon.c
parent217a7f4bf95339a93a217c5806c5b9a48c0027d5 (diff)
downloadbusybox-488dd7086925b83bb36568965558221e04d2cc91.zip
busybox-488dd7086925b83bb36568965558221e04d2cc91.tar.gz
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/chcon.c')
-rw-r--r--selinux/chcon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 8644502..88d0cfe 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -40,7 +40,6 @@
//usage: "\n -R Recurse"
//usage: )
-#include <getopt.h>
#include <selinux/context.h>
#include "libbb.h"