diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2015-11-03 19:07:25 -0500 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2015-11-03 19:07:25 -0500 |
commit | 35e31f00782f28d904f8d8216ae0c07b85768193 (patch) | |
tree | ba1af625a2ef1e69356f627223ad80cbda0a6ede /sd_daemon/listen_fds.go | |
parent | 1409e4587ad950a4694cb00621afac397088f8fa (diff) |
*sigh* avoid reliance on systemd headers.
What I'd really like to do is have `go generate` download the headers if
they aren't on the system. But, that will have to be a later commit.
Diffstat (limited to 'sd_daemon/listen_fds.go')
-rw-r--r-- | sd_daemon/listen_fds.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd_daemon/listen_fds.go b/sd_daemon/listen_fds.go index fbd2247..0ddf0d0 100644 --- a/sd_daemon/listen_fds.go +++ b/sd_daemon/listen_fds.go @@ -21,7 +21,8 @@ import ( "syscall" ) -//#include <systemd/sd-daemon.h> +///*#include <systemd/sd-daemon.h>*/ +//#define SD_LISTEN_FDS_START 3 import "C" // Returns a list of file descriptors passed in by the service manager |