Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/lib/librt/sem Add missing include for gcc-3.x



details:   https://anonhg.NetBSD.org/src/rev/39aab94c8ee4
branches:  trunk
changeset: 543580:39aab94c8ee4
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:29:48 2003 +0000

description:
Add missing include for gcc-3.x

diffstat:

 regress/lib/librt/sem/sem.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 48c6dc99aebe -r 39aab94c8ee4 regress/lib/librt/sem/sem.c
--- a/regress/lib/librt/sem/sem.c       Fri Feb 28 05:24:56 2003 +0000
+++ b/regress/lib/librt/sem/sem.c       Fri Feb 28 05:29:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sem.c,v 1.1 2003/01/24 01:56:48 thorpej Exp $  */
+/*     $NetBSD: sem.c,v 1.2 2003/02/28 05:29:48 matt Exp $     */
 
 /*
  * Copyright (C) 2000 Jason Evans <jasone%freebsd.org@localhost>.
@@ -36,6 +36,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <semaphore.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #define NCHILDREN 10



Home | Main Index | Thread Index | Old Index