Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 15:55:44 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 155382 for review
Message-ID:  <200812281555.mBSFtipB077755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155382

Change 155382 by rwatson@rwatson_lethe on 2008/12/28 15:55:22

	strptime(3) on Linux/glibc requires _XOPEN_SOURCE.  Possibly
	we should autoconf this.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#30 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#30 (text+ko) ====

@@ -26,7 +26,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#29 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#30 $
  */
 
 /* 
@@ -40,6 +40,8 @@
  * XXX the records present within the file and between the files themselves
  */ 
 
+#define	_XOPEN_SOURCE		/* glibc 2 */
+
 #include <config/config.h>
 #ifdef HAVE_FULL_QUEUE_H
 #include <sys/queue.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812281555.mBSFtipB077755>