summaryrefslogtreecommitdiff
path: root/common/elapi/elapi_basic.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-10-07 09:45:39 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-10-16 14:27:24 -0400
commit01bf2fcf57944104f9a774c8716950f397d666ce (patch)
tree7d20b82674596a0946a2b339f807cf84fc58c769 /common/elapi/elapi_basic.h
parent82648b5af3cb5e68a48fe1e798ef48254ccbecb8 (diff)
downloadsssd-01bf2fcf57944104f9a774c8716950f397d666ce.tar.gz
sssd-01bf2fcf57944104f9a774c8716950f397d666ce.tar.bz2
sssd-01bf2fcf57944104f9a774c8716950f397d666ce.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 'common/elapi/elapi_basic.h')
-rw-r--r--common/elapi/elapi_basic.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/elapi/elapi_basic.h b/common/elapi/elapi_basic.h
index 8d23c7db..480ef1bf 100644
--- a/common/elapi/elapi_basic.h
+++ b/common/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 {