Changeset View
Changeset View
Standalone View
Standalone View
contrib/tcp_wrappers/tcpdmatch.c
Show All 25 Lines | |||||
#include <sys/socket.h> | #include <sys/socket.h> | ||||
#include <netinet/in.h> | #include <netinet/in.h> | ||||
#include <arpa/inet.h> | #include <arpa/inet.h> | ||||
#include <netdb.h> | #include <netdb.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <syslog.h> | #include <syslog.h> | ||||
#include <setjmp.h> | #include <setjmp.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <unistd.h> | |||||
vangyzen: POSIX says `getopt()` is declared by `<unistd.h>`. | |||||
extern void exit(); | extern void exit(); | ||||
extern int optind; | extern int optind; | ||||
extern char *optarg; | extern char *optarg; | ||||
#ifndef INADDR_NONE | #ifndef INADDR_NONE | ||||
#define INADDR_NONE (-1) /* XXX should be 0xffffffff */ | #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |
POSIX says getopt() is declared by <unistd.h>.