Print this page
3758 RFE: Would like "hostname -s"
3430 Support "hostname --fqdn"

@@ -20,19 +20,21 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
+# Copyright 2016 RackTop Systems.
 #
 
 PROG= hostname
 
 include ../Makefile.cmd
 
 CFLAGS += $(CCVERBOSE)
 
+LDLIBS += -lnsl -lsocket
+
 .KEEP_STATE:
 
 all: $(PROG) 
 
 install: all $(ROOTPROG)