summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb2010-08-06 09:17:26 +0200
committerDenys Vlasenko2010-08-06 09:17:26 +0200
commit95b83ba4f81f0985e2aeb9aec9cd67db7d5d1126 (patch)
tree7a49570f8089af0e9f012ea5a4cf37a7daf38096 /include/libbb.h
parent6814cbc9288601840aedb372e2bd84dab76ffa43 (diff)
downloadbusybox-95b83ba4f81f0985e2aeb9aec9cd67db7d5d1126.zip
busybox-95b83ba4f81f0985e2aeb9aec9cd67db7d5d1126.tar.gz
OpenBSD compatibility
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c043506..118d777 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -41,16 +41,16 @@
#include <limits.h>
#include <sys/param.h>
#ifdef HAVE_MNTENT_H
-#include <mntent.h>
+# include <mntent.h>
#endif
#ifdef HAVE_SYS_STATFS_H
-#include <sys/statfs.h>
+# include <sys/statfs.h>
#endif
#if ENABLE_SELINUX
-#include <selinux/selinux.h>
-#include <selinux/context.h>
-#include <selinux/flask.h>
-#include <selinux/av_permissions.h>
+# include <selinux/selinux.h>
+# include <selinux/context.h>
+# include <selinux/flask.h>
+# include <selinux/av_permissions.h>
#endif
#if ENABLE_LOCALE_SUPPORT
# include <locale.h>
@@ -70,7 +70,7 @@
# include <shadow.h>
# endif
#endif
-#if defined __FreeBSD__
+#if defined __FreeBSD__ || defined __OpenBSD__
# include <netinet/in.h>
# include <arpa/inet.h>
#elif defined __APPLE__