Code

define bsd source to get access to chroot
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 21 Nov 2007 06:56:19 +0000 (06:56 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 21 Nov 2007 06:56:19 +0000 (06:56 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1241 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/configure.ac

index 9d1f5f9adee884ba43d942ecc9341b81327eebb4..494a06aa2f59da0c1d1197d63bfa41186ffcdddb 100644 (file)
@@ -60,8 +60,9 @@ AH_TOP([
 
 AH_BOTTOM([
 /* make sure that we pickup the correct stuff from all headers */
-#define _XOPEN_SOURCE 600
 #ifdef HAVE_FEATURES_H
+#define _XOPEN_SOURCE 600
+#define _BSD_SOURCE 1
 # include <features.h>
 #endif