• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/nginx/0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch
Martin BarkMartin Bark committed 2a59854aa7316 May 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 8dc9dffc1f99ac951865f3135dfb5061a08d1f85 Mon Sep 17 00:00:00 2001
2
From: Martin Bark <martin@barkynet.com>
3
Date: Fri, 6 May 2016 16:29:17 +0100
4
Subject: [PATCH] src/os/unix/ngx_linux_config.h: only include dlfcn.h if
5
 available
6
​
7
Signed-off-by: Martin Bark <martin@barkynet.com>
8
---
9
 src/os/unix/ngx_linux_config.h | 6 ++++--
10
 1 file changed, 4 insertions(+), 2 deletions(-)
11
​
12
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
13
index 2f6129d..4244086 100644
14
--- a/src/os/unix/ngx_linux_config.h
15
+++ b/src/os/unix/ngx_linux_config.h
16
@@ -55,10 +55,12 @@
17
 #include <crypt.h>
18
 #include <sys/utsname.h>        /* uname() */
19
 
20
-#include <dlfcn.h>
21
+#include <ngx_auto_config.h>
22
 
23
 
24
-#include <ngx_auto_config.h>
25
+#if (NGX_HAVE_DLOPEN)
26
+#include <dlfcn.h>
27
+#endif
28
 
29
 
30
 #if (NGX_HAVE_POSIX_SEM)
31
-- 
32
2.8.2
33
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.