mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 17:31:10 +07:00
Include config.h in src/libudev/Makefile.am to provide needed #define's
This commit provides needed #define's that provide structures that
are found at configure time. It also reverts commit
91ce21b2d7
to avoid redefinitions of _GNU_SOURCE.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
6ea07b48a5
commit
0de7e6af11
@ -5,6 +5,7 @@ LIBUDEV_REVISION=0
|
||||
LIBUDEV_AGE=2
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-include $(top_builddir)/config.h \
|
||||
-DUDEV_CONF_FILE=\"$(udevconffile)\" \
|
||||
-DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" \
|
||||
-I $(top_srcdir)/src/udev
|
||||
|
@ -17,8 +17,6 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
|
@ -18,7 +18,6 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
@ -19,8 +19,6 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
@ -19,8 +19,6 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user