add some missing includes
avoids forward referenced enums, and includes standard type defns Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
08cd206c4a
commit
22648d9dbf
@@ -25,6 +25,8 @@
|
|||||||
#define ssize_t SSIZE_T
|
#define ssize_t SSIZE_T
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "iscsi.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
#define EXTERN
|
#define EXTERN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -27,6 +27,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "iscsi.h"
|
||||||
|
#include "scsi-lowlevel.h"
|
||||||
|
|
||||||
#ifndef discard_const
|
#ifndef discard_const
|
||||||
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
|
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "iscsi.h"
|
||||||
#include "iscsi-support.h"
|
#include "iscsi-support.h"
|
||||||
|
|
||||||
/* globals between setup, tests, and teardown */
|
/* globals between setup, tests, and teardown */
|
||||||
|
|||||||
Reference in New Issue
Block a user