fix compile error

This commit is contained in:
Duncan Laurie 2006-09-11 16:20:56 +00:00
parent ef20239926
commit db4a2e5951
2 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,8 @@
#include <stdio.h>
#include <string.h>
struct ipmi_intf;
struct valstr {
uint16_t val;
const char * str;
@ -54,7 +56,7 @@ const char * buf2str(uint8_t * buf, int len);
void printbuf(const uint8_t * buf, int len, const char * desc);
uint8_t ipmi_csum(uint8_t * d, int s);
FILE * ipmi_open_file(const char * file, int rw);
void ipmi_start_daemon(void);
void ipmi_start_daemon(struct ipmi_intf *intf);
#define ipmi_open_file_read(file) ipmi_open_file(file, 0)
#define ipmi_open_file_write(file) ipmi_open_file(file, 1)

View File

@ -54,6 +54,8 @@
# define _PATH_VARRUN "/var/run/"
#endif
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/helper.h>
#include <ipmitool/log.h>