diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-16 13:11:06 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-16 13:11:06 +0000 |
commit | 7822caa94ad3b03f192bdad298b57f1bb2c50b4e (patch) | |
tree | 234fc681073152000f0f2b06e121ed5172b30bc2 /net.h | |
parent | a8c6819d7e1cc570a0c2c633d6b6bfa635685d23 (diff) | |
download | rsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.tar.gz rsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.tar.xz rsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.zip |
fully integrated patch from mildew@gmail.com
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,8 +1,11 @@ /* - * FIXME: All network stuff should go here (and to net.c) + * TODO: All network stuff should go here (and to net.c) */ -//#ifdef SYSLOG_INET +#ifndef INCLUDED_NET_H +#define INCLUDED_NET_H + +#ifdef SYSLOG_INET #define F_SET(where, flag) (where)|=(flag) #define F_ISSET(where, flag) ((where)&(flag))==(flag) @@ -25,4 +28,5 @@ struct NetAddr { } addr; }; -//#endif +#endif +#endif /* #ifndef INCLUDED_NET_H */ |