diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-10-07 09:45:39 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-16 14:27:24 -0400 |
commit | 0c1edf81f5da9801c17dc1300053896433e3b885 (patch) | |
tree | 32ba182f322830682da9ab3d51f2b3cbe1bf2868 /elapi/elapi_basic.h | |
parent | a5e2b56bfa2cd183bf071a7d0dc2bad6383781d8 (diff) | |
download | ding-libs-0c1edf81f5da9801c17dc1300053896433e3b885.tar.gz ding-libs-0c1edf81f5da9801c17dc1300053896433e3b885.tar.xz ding-libs-0c1edf81f5da9801c17dc1300053896433e3b885.zip |
ELAPI Compatibility code for getifaddr()
Addreses ticket #94
Actually works pretty well.
To try use --enable-compat when build ELAPI.
It will use compatibility code instead of
getifaddr().
The trick in the elapi_ioctl.h with memory
allocation is taken from Stevens book.
Diffstat (limited to 'elapi/elapi_basic.h')
-rw-r--r-- | elapi/elapi_basic.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/elapi/elapi_basic.h b/elapi/elapi_basic.h index 8d23c7d..480ef1b 100644 --- a/elapi/elapi_basic.h +++ b/elapi/elapi_basic.h @@ -21,10 +21,7 @@ #define ELAPI_BASIC_H #include <stdint.h> - -#ifndef EOK -#define EOK 0 -#endif +#include "elapi_defines.h" /* Generic data structure for the data output */ struct elapi_data_out { |