Commit a034e1af authored by Ole Streicher's avatar Ole Streicher
Browse files

Include netpbm files from netpbm subdir

parent fae47967
From: Ole Streicher <olebole@debian.org>
Date: Fri, 5 Aug 2022 14:10:35 +0200
Subject: Include netpbm files from netpbm subdir
---
util/an-pnmtofits.c | 2 +-
util/cairoutils.c | 2 +-
util/os-features-test.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/an-pnmtofits.c b/util/an-pnmtofits.c
index a9ce928..4ae394d 100644
--- a/util/an-pnmtofits.c
+++ b/util/an-pnmtofits.c
@@ -9,7 +9,7 @@
#include "os-features-config.h" // for HAVE_NETPBM.
#if HAVE_NETPBM
-#include <pam.h>
+#include <netpbm/pam.h>
#else
#include <arpa/inet.h>
#endif
diff --git a/util/cairoutils.c b/util/cairoutils.c
index 58eef53..c46f699 100644
--- a/util/cairoutils.c
+++ b/util/cairoutils.c
@@ -18,7 +18,7 @@
#include "os-features.h"
#if HAVE_NETPBM
-#include <ppm.h>
+#include <netpbm/ppm.h>
#endif
#include "ioutils.h"
diff --git a/util/os-features-test.c b/util/os-features-test.c
index 0c1e615..e466dd1 100644
--- a/util/os-features-test.c
+++ b/util/os-features-test.c
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <stdio.h>
-#include <pam.h>
+#include <netpbm/pam.h>
int main(int argc, char** args) {
struct pam img;
pm_init(args[0], 0);
......@@ -5,3 +5,4 @@ Call-python-scripts-as-modules-instead-of-executables.patch
Fix-shared-lib-flags-so-that-the-package-can-be-built-on-.patch
Remove-errornous-generation-of-net-client.py.patch
Don-t-copy-demo-files-to-examples.patch
Include-netpbm-files-from-netpbm-subdir.patch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment