diff options
author | hpa <hpa> | 2001-11-13 19:58:32 +0000 |
---|---|---|
committer | hpa <hpa> | 2001-11-13 19:58:32 +0000 |
commit | 06bfb2bf4feb0e6d4620d66efcf75b59ceb3bb54 (patch) | |
tree | 1616015cad17b233f31b4a06d288ceeaf7b2c061 /config.h | |
parent | d2206bf9b9b0fe7ae0d6fd4c08ca85132340620a (diff) | |
download | tftp-hpa-06bfb2bf4feb0e6d4620d66efcf75b59ceb3bb54.tar.gz |
- Better parsing of the "connect" command (tftp).
- Move missing header file stuff consistently into config.h.
- Make "make -j" work correctly.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -78,7 +78,6 @@ #endif #include <setjmp.h> -#include <netinet/in.h> #include <sys/socket.h> /* If we don't have intmax_t, try creating it */ @@ -172,7 +171,9 @@ typedef unsigned long u_long; #endif #endif -/* Sometimes IPPORT_TFTP isn't defined */ +/* netinet/in.h, and possible missing pieces */ + +#include <netinet/in.h> #ifndef HAVE_IPPORT_TFTP_DEFINITION #ifndef IPPORT_TFTP @@ -180,4 +181,19 @@ typedef unsigned long u_long; #endif #endif +/* arpa/tftp.h, and possible missing pieces */ + +#include <arpa/tftp.h> + +#ifndef OACK +#define OACK 6 +#endif +#ifndef EOPTNEG +#define EOPTNEG 8 +#endif + +/* tftp-hpa version */ + +#include "version.h" + #endif |