projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1d58b
)
*** empty log message ***
author
ivanfm
<ivanfm>
Sun, 19 Sep 1999 13:35:02 +0000
(13:35 +0000)
committer
ivanfm
<ivanfm>
Sun, 19 Sep 1999 13:35:02 +0000
(13:35 +0000)
src/include/missing.h
patch
|
blob
|
history
src/lib/dict.c
patch
|
blob
|
history
diff --git
a/src/include/missing.h
b/src/include/missing.h
index
2c2c90e
..
5d469c0
100644
(file)
--- a/
src/include/missing.h
+++ b/
src/include/missing.h
@@
-10,3
+10,17
@@
char *crypt(char *key, char *salt);
#endif
+#ifdef __EMX__
+#define OS2
+/* EMX does not have SIGIOT */
+#define SIGIOT SIGTERM
+
+/* EMX does not have this functions and must be implemented */
+#define strncasecmp strncmp
+#define strcasecmp strcmp
+#define inet_aton(x,y) 0
+#define setlinebuf(x) 0
+#define gethostname(x,y) strncpy(x,getenv("HOSTNAME"),y)
+
+#endif
+
diff --git
a/src/lib/dict.c
b/src/lib/dict.c
index
c3f67db
..
09852a0
100644
(file)
--- a/
src/lib/dict.c
+++ b/
src/lib/dict.c
@@
-21,6
+21,7
@@
static const char rcsid[] = "$Id$";
#endif
#include "libradius.h"
+#include "missing.h"
static DICT_ATTR *dictionary_attributes;
static DICT_VALUE *dictionary_values;