The following commit has been merged in the master branch:
commit 3516d105a427ad95c4d6bacb96030e4267c842fd
Author: Guillem Jover <[email protected]>
Date: Mon Feb 22 19:07:50 2010 +0100
libdpkg: Always include <stddef.h>
We need the definitions from the header, so conditionally including it
will only cause problems, we are also unconditionally including it in
other parts of the code, so it's safe to assume it's always available.
diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
index e8c54ba..819ca64 100644
--- a/lib/dpkg/dpkg.h
+++ b/lib/dpkg/dpkg.h
@@ -28,9 +28,7 @@
#include <sys/types.h>
#include <setjmp.h>
-#ifdef HAVE_STDDEF_H
#include <stddef.h>
-#endif
#include <stdarg.h>
#include <stdio.h>
diff --git a/lib/dpkg/path.h b/lib/dpkg/path.h
index 88a0c8d..6068556 100644
--- a/lib/dpkg/path.h
+++ b/lib/dpkg/path.h
@@ -21,9 +21,7 @@
#ifndef LIBDPKG_PATH_H
#define LIBDPKG_PATH_H
-#ifdef HAVE_STDDEF_H
#include <stddef.h>
-#endif
#include <dpkg/macros.h>
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]