Jan Engelhardt
f76bbdc502
- Rename compface-1.5.2-destdir.diff to Makefile.patch - Fix build with GCC 14, add patch config.patch OBS-URL: https://build.opensuse.org/package/show/server:mail/compface?expand=0&rev=14
13 lines
268 B
Diff
13 lines
268 B
Diff
diff --git a/config.h b/config.h
|
|
index 57fce54..633c79b 100644
|
|
--- a/config.h
|
|
+++ b/config.h
|
|
@@ -1,6 +1,7 @@
|
|
#ifdef STDC_HEADERS
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <unistd.h>
|
|
#else /* Not STDC_HEADERS */
|
|
#ifdef HAVE_STRINGS_H
|
|
#include <strings.h>
|