mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:384 - Fix compilation under cygwin64
Patch fixes several compile-time errors which appear during IPMITOOL compilation in Cygwin64 environment. Commit for: Dmitry Bazhenov
This commit is contained in:
parent
0d8f9a7453
commit
30becb3588
@ -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 _GNU_SOURCE
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -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 _GNU_SOURCE
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -33,6 +33,7 @@
|
||||
|
||||
/* Serial Interface, Basic Mode plugin. */
|
||||
|
||||
#include <alloca.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
|
@ -33,6 +33,7 @@
|
||||
|
||||
/* Serial Interface, Terminal Mode plugin. */
|
||||
|
||||
#include <alloca.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user