]> jfr.im git - solanum.git/blobdiff - authd/reslist.c
filter: add #defines for nick,user,host
[solanum.git] / authd / reslist.c
index 7fb97f5e15ae50ccee2c4920047ece0928371087..1a17ec2e636f6b31a485429497b88f4163d8802f 100644 (file)
@@ -1,15 +1,15 @@
 /*
  * reslist.c - get nameservers from windows *
- * 
+ *
  * ircd-ratbox related changes are as follows
- * 
+ *
  * Copyright (C) 2008 Aaron Sethman <androsyn@ratbox.org>
  * Copyright (C) 2008-2012 ircd-ratbox development team
- * 
- * pretty much all of this was yanked from c-ares ares_init.c here is the original 
+ *
+ * pretty much all of this was yanked from c-ares ares_init.c here is the original
  * header from there --
  *
- * Id: ares_init.c,v 1.72 2008-05-15 00:00:19 yangtse Exp $ 
+ * Id: ares_init.c,v 1.72 2008-05-15 00:00:19 yangtse Exp $
  * Copyright 1998 by the Massachusetts Institute of Technology.
  * Copyright (C) 2007-2008 by Daniel Stenberg
  *
@@ -36,6 +36,9 @@
 
 const char *get_windows_nameservers(void);
 
+#ifndef INADDR_NONE
+#define INADDR_NONE ((unsigned int) 0xffffffff)
+#endif /* INADDR_NONE */
 
 #define IS_NT()               ((int)GetVersion() > 0)
 #define WIN_NS_9X      "System\\CurrentControlSet\\Services\\VxD\\MSTCP"