>Those definitions are in the system header files. The server should
>depend on the header files. It's better than having hard-coded values
>in the source.
I am new to programming :( Thanks.
So this patch also seems working fine on my FreeBSD:
[code]
*** ./src/lib/dhcp.cTue Apr 17 16:11:05
new...@qip.ru wrote:
> I have get it working, here is my patch, but I have not tested if it will
> correctly compile on non-FreeBSD PCs :(
I pushed a patch to git. It's cross-platform, and should work.
> + typedef unsigned short u_short;
> + typedef unsigned long u_long;
> + typede
Hi, thanks!
I have get it working, here is my patch, but I have not tested if it will
correctly compile on non-FreeBSD PCs :(
[code]
*** ./src/lib/dhcp.cTue Apr 17 16:11:05 2012
--- ./src/lib/dhcp.cSun Apr 22 01:45:08 2012
***
*** 20,27
--- 20,35
* Copyright 2008
Garber, Neal wrote:
> Try adding the following includes before those that are already in the file
> freeradius-server/src/lib/dhcp.c:
>
> #include
> #include
I'll add a patch.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> I am getting the following errors during compilation on my FreeBSD 8.2 OS:
> /usr/include/net/if_arp.h:47: error: expected specifier-qualifier-list
> before 'u_short'
> /usr/include/net/if_arp.h:88: error: field 'arp_pa' has incomplete type
> /usr/include/net/if_arp.h:89: error: field 'arp_ha'
Hi all,
I am getting the following errors during compilation on my FreeBSD 8.2 OS:
/usr/include/net/if_arp.h:47: error: expected specifier-qualifier-list before
'u_short'
/usr/include/net/if_arp.h:88: error: field 'arp_pa' has incomplete type
/usr/include/net/if_arp.h:89: error: field 'arp_ha' h
6 matches
Mail list logo