summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd/src/uhttpd-file.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-20 14:10:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-20 14:10:03 +0000
commit35e6a59ef269829e4838aa748dfd93c5441083c2 (patch)
tree827a320fa081ffdae5456b4b5f341859fc1e12fd /contrib/package/uhttpd/src/uhttpd-file.c
parentc153eeaef2216f6e3a0b06f50661f4abda0699c6 (diff)
uhttpd: everybody loves licences, add one
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-file.c')
-rw-r--r--contrib/package/uhttpd/src/uhttpd-file.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-file.c b/contrib/package/uhttpd/src/uhttpd-file.c
index c300f0e45..6e083cb7d 100644
--- a/contrib/package/uhttpd/src/uhttpd-file.c
+++ b/contrib/package/uhttpd/src/uhttpd-file.c
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Static file handler
+ *
+ * Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#define _XOPEN_SOURCE 500 /* strptime() ... */
#define _BSD_SOURCE /* scandir() ... */