mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID:445 - Fix of compilation on FreeBSD
This commit is contained in:
parent
7e991a18e0
commit
0ffe39dedc
@ -99,6 +99,7 @@ solaris*)
|
||||
*freebsd*)
|
||||
xenable_intf_imb=no
|
||||
xenable_intf_lipmi=no
|
||||
CFLAGS="$CFLAGS -D__BSD_VISIBLE"
|
||||
;;
|
||||
*netbsd*)
|
||||
xenable_intf_imb=no
|
||||
|
@ -29,7 +29,7 @@
|
||||
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
|
||||
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
*/
|
||||
#define _POSIX_SOURCE
|
||||
#define _POSIX_C_SOURCE 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -33,7 +33,9 @@
|
||||
|
||||
/* Serial Interface, Basic Mode plugin. */
|
||||
|
||||
#if defined HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
|
@ -33,7 +33,9 @@
|
||||
|
||||
/* Serial Interface, Terminal Mode plugin. */
|
||||
|
||||
#if defined HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user