projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: avoid redefining _DEFAULT_SOURCE
[project/uhttpd.git]
/
main.c
diff --git
a/main.c
b/main.c
index 6574c15ec8d9fda65299995a28b525a0a2b7833c..219e37e9c349b6873bd2afccd302d4c345a17ec7 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-17,7
+17,10
@@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _DEFAULT_SOURCE
+#ifndef _DEFAULT_SOURCE
+# define _DEFAULT_SOURCE
+#endif
+
#define _BSD_SOURCE
#define _GNU_SOURCE
#define _XOPEN_SOURCE 700