Skip to content

Commit

Permalink
Minimal changes to build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Rudoff committed Jan 14, 2020
1 parent 97c658e commit 6cb88ed
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Make.defines
Makefile
config.h
config.log
config.status
*.o
*.a
4 changes: 1 addition & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ Execute the following from the src/ directory:
cd ../libfree # continue building the basic library
make

# note the following two lines are not needed on Linux systems
cd ../libroute # only if your system supports 4.4BSD style routing sockets
make # only if your system supports 4.4BSD style routing sockets

cd ../libxti # only if your system supports XTI
make # only if your system supports XTI

cd ../intro # build and test a basic client program
make daytimetcpcli
./daytimetcpcli 127.0.0.1
Expand Down
11 changes: 11 additions & 0 deletions intro/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
daytimetcpcli
daytimetcpcli1
daytimetcpcli2
daytimetcpcli3
daytimetcpsrv
daytimetcpsrv1
daytimetcpsrv2
daytimetcpsrv3
daytimetcpcliv6
daytimetcpsrvv6
byteorder
8 changes: 8 additions & 0 deletions libfree/inet_ntop.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* The contents of this file are included with the system,
* so no longer needed.
*/
#ifdef notdef

/* This is from the BIND 4.9.4 release, modified to compile by itself */

/* Copyright (c) 1996 by Internet Software Consortium.
Expand Down Expand Up @@ -196,3 +202,5 @@ inet_ntop6(src, dst, size)
strcpy(dst, tmp);
return (dst);
}

#endif /* notdef */

0 comments on commit 6cb88ed

Please sign in to comment.