*** empty log message ***
authorivanfm <ivanfm>
Sun, 19 Sep 1999 13:35:02 +0000 (13:35 +0000)
committerivanfm <ivanfm>
Sun, 19 Sep 1999 13:35:02 +0000 (13:35 +0000)
src/include/missing.h
src/lib/dict.c

index 2c2c90e..5d469c0 100644 (file)
 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
+
index c3f67db..09852a0 100644 (file)
@@ -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;