vcpkg/ports/libcanberra/lc-messages.patch
Kai Pastor d9cb7bd068
[libcanberra] Control dependencies (#27314)
* Fix ltdl usage

* Control dependencies, trim patches

* Fix mingw

* Update versions

* Add license

* Restore explicit brew ltdl usage

* Update versions

* Replace deprecated function

* Update versions

* Print ltdl-dev dependency

* Update versions
2022-10-24 17:09:22 -07:00

15 lines
316 B
Diff

diff --git a/src/sound-theme-spec.c b/src/sound-theme-spec.c
index 32affd0..371e380 100644
--- a/src/sound-theme-spec.c
+++ b/src/sound-theme-spec.c
@@ -28,6 +28,9 @@
#include <unistd.h>
#include <locale.h>
+#ifndef LC_MESSAGES
+#include <libintl.h>
+#endif
#include "sound-theme-spec.h"
#include "malloc.h"