From 488dd7086925b83bb36568965558221e04d2cc91 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 29 May 2011 04:24:13 +0200 Subject: 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 --- selinux/chcon.c | 1 - selinux/runcon.c | 1 - 2 files changed, 2 deletions(-) (limited to 'selinux') 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 @@ //usage: "\n -R Recurse" //usage: ) -#include #include #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 @@ //usage: "\n -l RNG Levelrange" //usage: ) -#include #include #include -- cgit v1.2.3