summaryrefslogtreecommitdiff
path: root/print/cups/files/patch-scheduler_cups-driverd.cxx
blob: 7f8dbf101a78a3f0845de09ef96b4da9519f493f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- scheduler/cups-driverd.cxx.orig	2015-06-12 01:21:05 UTC
+++ scheduler/cups-driverd.cxx
@@ -913,7 +913,7 @@ get_file(const char *name,		/* I - Name 
   }
   else
 
-#elif defined(__linux)
+#elif defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__)
   if (!strncmp(name, "lsb/usr/", 8))
   {
    /*
@@ -1093,7 +1093,7 @@ list_ppds(int        request_id,	/* I - 
   load_ppds("/System/Library/Printers/PPDs/Contents/Resources/en.lproj",
             "System/Library/Printers/PPDs/Contents/Resources/en.lproj", 0);
 
-#elif defined(__linux)
+#elif defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__)
  /*
   * Load PPDs from LSB-defined locations...
   */