PERFORCE change 155370 for review

Robert Watson rwatson at FreeBSD.org
Sun Dec 28 06:57:42 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=155370

Change 155370 by rwatson at rwatson_cinnamon on 2008/12/28 14:57:04

	Eliminate build warnings on FreeBSD by adding missing includes.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_fbsd.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_fbsd.c#2 (text+ko) ====

@@ -26,7 +26,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 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/auditd/auditd_fbsd.c#1 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_fbsd.c#2 $
  */
 
 #include <sys/types.h>
@@ -35,9 +35,11 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <stdarg.h>
 #include <signal.h>
+#include <string.h>
 #include <syslog.h>
-#include <stdarg.h>
+#include <unistd.h>
 
 #include <bsm/audit.h>
 #include <bsm/audit_uevents.h>


More information about the p4-projects mailing list