22 Apr
2012
22 Apr
'12
8:35 a.m.
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.c Tue Apr 17 16:11:05 2012 --- ./src/lib/dhcp.c Sun Apr 22 01:45:08 2012 *************** *** 22,27 **** --- 22,29 ---- */ #include <sys/ioctl.h> + #include <sys/types.h> + #include <sys/socket.h> #include <net/if_arp.h> #include <freeradius-devel/ident.h> [/code]