diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-12-14 10:11:08 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-12-14 10:11:08 +0100 |
commit | c28dde0a7f0e93e0e9a1c318c5ff2bff37fbf843 (patch) | |
tree | f63c9b55172a0fc8f26f16c50c38b798b938f71c | |
parent | b1267b4f2806f6d8b54e593e08f6e606a6efa509 (diff) | |
download | rsyslog-c28dde0a7f0e93e0e9a1c318c5ff2bff37fbf843.tar.gz rsyslog-c28dde0a7f0e93e0e9a1c318c5ff2bff37fbf843.tar.bz2 rsyslog-c28dde0a7f0e93e0e9a1c318c5ff2bff37fbf843.zip |
fix some compile problems on some platforms
-rw-r--r-- | runtime/obj.c | 1 | ||||
-rw-r--r-- | tests/minitcpsrvr.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj.c b/runtime/obj.c index 99ccc923..63f1f38c 100644 --- a/runtime/obj.c +++ b/runtime/obj.c @@ -774,7 +774,6 @@ static rsRetVal objDeserializeProperties(obj_t *pObj, rsRetVal (*objSetProperty) ISOBJ_assert(pObj); ISOBJ_TYPE_assert(pStrm, strm); - ASSERT(pObjInfo != NULL); CHKiRet(var.Construct(&pVar)); CHKiRet(var.ConstructFinalize(pVar)); diff --git a/tests/minitcpsrvr.c b/tests/minitcpsrvr.c index 76dae0a5..8ac59f25 100644 --- a/tests/minitcpsrvr.c +++ b/tests/minitcpsrvr.c @@ -2,6 +2,7 @@ #include <stdlib.h> #include <string.h> #include <sys/types.h> +#include <sys/stat.h> #include <sys/socket.h> #include <fcntl.h> #include <unistd.h> |