Revision 7e00eb9b

b/Makefile
24 24

  
25 25
LIBS+=$(AIOLIBS)
26 26

  
27
ifdef CONFIG_SOLARIS
28
LIBS+=-lsocket -lnsl -lresolv
29
endif
30

  
27 31
all: $(TOOLS) $(DOCS) recurse-all 
28 32

  
29 33
SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
b/nbd.c
22 22
#include <errno.h>
23 23
#include <string.h>
24 24
#include <sys/ioctl.h>
25
#ifdef __sun__
26
#include <sys/ioccom.h>
27
#endif
25 28
#include <ctype.h>
26 29
#include <inttypes.h>
27 30
#include <sys/socket.h>

Also available in: Unified diff