mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
First few FreeBSD portability fixes.
This commit is contained in:
parent
6accdf4f43
commit
abae6e9cd3
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
@ -216,6 +217,10 @@ tm_shot(void)
|
|||||||
* Sockets
|
* Sockets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SOL_IP
|
||||||
|
#define SOL_IP IPPROTO_IP
|
||||||
|
#endif
|
||||||
|
|
||||||
static list sock_list;
|
static list sock_list;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -8,7 +8,7 @@ all depend:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C $(objdir) clean
|
$(MAKE) -C $(objdir) clean
|
||||||
rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name .#*`
|
find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name .#* | xargs rm -f
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -rf $(objdir)
|
rm -rf $(objdir)
|
||||||
|
@ -25,7 +25,7 @@ $(exedir)/bird: $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a
|
|||||||
touch .dep-stamp
|
touch .dep-stamp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f `find . -name "*.[oa]" -or -name core -or -name depend`
|
find . -name "*.[oa]" -or -name core -or -name depend | xargs rm -f
|
||||||
rm -f $(exedir)/bird .dep-stamp
|
rm -f $(exedir)/bird .dep-stamp
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user