]> granicus.if.org Git - fcron/commitdiff
added fcrondyn command renice and kill support
authorthib <thib>
Mon, 28 Oct 2002 17:57:17 +0000 (17:57 +0000)
committerthib <thib>
Mon, 28 Oct 2002 17:57:17 +0000 (17:57 +0000)
socket.h

index 8b090ed51d5cdb5a0e9ae26e36f795a23f927d56..2ec8b057891fe4f1ebf0bc8b3c93acbd29e3e5d2 100644 (file)
--- a/socket.h
+++ b/socket.h
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: socket.h,v 1.2 2002-03-02 17:29:50 thib Exp $ */
+ /* $Id: socket.h,v 1.3 2002-10-28 17:57:17 thib Exp $ */
 
 /* This file describe the communication protocol between fcron and fcrondyn */
 
 #define __SOCKET_H__
 
 #include "dyncom.h"
-
+#ifdef HAVE_SYS_RESOURCE_H
+/* needed by setpriority() */
+#include <sys/resource.h>
+#endif
 
 /* public var defined by socket.c */
 extern fd_set read_set;