This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
pam_usb
mirror of
https://github.com/Fincer/pam_usb
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
4
Wiki
Activity
Browse Source
Don't include linux-specific headers.
They are unnecessary and plus lead to build failure on non-Linux architectures.
master
Alessio Treglia
12 years ago
parent
0e27ba02c9
commit
c33459519d
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/conf.h
+2
-0
src/volume.c
+ 2
- 0
src/conf.h
View File
@ -23,7 +23,9 @@
#
define CONF_SERVICE_XPATH "
/
/
configuration
/
services
/
service[@id='%s']
/
%s"
#
define CONF_USER_MAXLEN 32
#
include <limits.h>
#
ifdef __linux__
#
include <linux
/
limits.h>
#
endif
#
include <sys
/
time.h>
#
ifndef PATH_MAX
#
define PATH_MAX 4096
+ 2
- 0
src/volume.c
View File
@ -21,7 +21,9 @@
#
include
<unistd.h>
#
include
<stdlib.h>
#
include
<sys/types.h>
#
ifndef __GNU__
#
include
<sys/mount.h>
#
endif
#
include
"mem.h"
#
include
"conf.h"
#
include
"log.h"
Write
Preview
Loading…
Cancel
Save