PERFORCE change 155382 for review
    Robert Watson 
    rwatson at FreeBSD.org
       
    Sun Dec 28 07:55:45 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=155382
Change 155382 by rwatson at 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>
    
    
More information about the p4-projects
mailing list