This website requires JavaScript.
Explore
Help
Sign in
fdo-mirrors
/
NetworkManager
Watch
1
Star
0
Fork
You've already forked NetworkManager
0
mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced
2025-12-21 21:30:07 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
d9968b133b
NetworkManager
/
shared
/
systemd
/
sd-adapt-shared
/
unaligned.h
4 lines
48 B
C
Raw
Normal View
History
Unescape
Escape
build: don't add shared/nm-utils directory to include search path All users are supposed to include files from nm-utils by fully specifying the path. -I.*shared/nm-utils is wrong. Only, systemd code likes to include "siphash24.h" directly. Instead of adding "-Ishared/nm-utils" to the search path, add an intermediary header to sd-adapt. Note, that in the meantime we anyway should rework siphash24 to use shared/c-siphash instead. This also fixes build for meson, which was broken recently.
2018-05-30 11:13:41 +02:00
#
pragma once
shared: split C-only helper "shared/nm-std-aux" utils out of "shared/nm-utils" "shared/nm-utils" contains general purpose utility functions that only depend on glib (and extend glib with some helper functions). We will also add code that does not use glib, hence it would be good if the part of "shared/nm-utils" that does not depend on glib, could be used by these future projects. Also, we use the term "utils" everywhere. While that covers the purpose and content well, having everything called "nm-something-utils" is not great. Instead, call this "nm-std-aux", inspired by "c-util/c-stdaux". (cherry picked from commit b434b9ec0794fc62a2469445d17debf645ba24cc)
2019-04-14 13:36:32 +02:00
#
include
"nm-std-aux/unaligned.h"
Reference in a new issue
Copy permalink