aboutsummaryrefslogtreecommitdiffstats
path: root/src/promisc_check/promisc_check.c
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2005-08-10 06:26:22 +0000
committerFrederic Lepied <flepied@mandriva.com>2005-08-10 06:26:22 +0000
commitc0bffad06bcdd361bc1c448791b8bb561ab86f27 (patch)
treeb2ed5d05bf6829c671978357f1b7266da13729dd /src/promisc_check/promisc_check.c
parentfe3c45368c9f1b0b211a71b807682776b080e824 (diff)
downloadmsec-c0bffad06bcdd361bc1c448791b8bb561ab86f27.tar
msec-c0bffad06bcdd361bc1c448791b8bb561ab86f27.tar.gz
msec-c0bffad06bcdd361bc1c448791b8bb561ab86f27.tar.bz2
msec-c0bffad06bcdd361bc1c448791b8bb561ab86f27.tar.xz
msec-c0bffad06bcdd361bc1c448791b8bb561ab86f27.zip
fixed compilation warnings
Diffstat (limited to 'src/promisc_check/promisc_check.c')
-rw-r--r--src/promisc_check/promisc_check.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/promisc_check/promisc_check.c b/src/promisc_check/promisc_check.c
index 411fe12..2d11973 100644
--- a/src/promisc_check/promisc_check.c
+++ b/src/promisc_check/promisc_check.c
@@ -1,12 +1,12 @@
/*****************************************************************************
- * Mandrake Security *
+ * Mandriva Linux Security *
* Written by Vandoorselaere Yoann *
- * (C) 1999, Mandrakesoft *
+ * (C) 1999-2005, Mandrakesoft *
*****************************************************************************/
/*****
*
-* Copyright (C) 1999 Mandrakesoft
+* Copyright (C) 1999-2005 Mandrakesoft
* All Rights Reserved
*
* This file is part of the Mandrake Security program.
@@ -38,6 +38,7 @@
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>